cancel
Showing results for 
Search instead for 
Did you mean: 

Changing mail sender of invitation and notification

wahyono
Champ in-the-making
Champ in-the-making
Hi All,

When i invite people to specific space system ask to send email to user who invited, when i choose Yes then system send an email to invited user where From: alfresco@alfresco.org, how can i change mail sender (i.e alfresco@alfresco.org) to specific mail (i.e alfresco@domain.tld) ?


i changed repository.properties mail.from.default = alfresco.domain.tld but still doesn´t woks.

changing web-client-config-custom.xml    
<!– Example of overriding the from email address –>
   <config>
      <client>
         <from-email-address>alfresco@domain.tld</from-email-address>
         <search-max-results>100</search-max-results>
      </client>
   </config>

still doesn´t work

changing web-client-config.xml script like:

       <!– the from address to use when sending emails from the client –>
         <from-email-address>alfresco@domain.tld</from-email-address>

but still doesn´t work.


Please help me what and where does the file should be edit ?

best regards,


Wahyono
3 REPLIES 3

banderon
Champ in-the-making
Champ in-the-making
Has this been resolved?  I'm getting errors on sending, stating that I don't have permission to send from that domain.  I have also changed the suggested files (repository.properties and web-client-config.xml).  Still no luck.

molkis
Champ in-the-making
Champ in-the-making
I have the same problem.
Using Alfrecso Labs 3.0 Stable and can't change the from-email-address.
It always shows the alfresco@alfresco.org address. In the web-client-config-custom file I have tried to overriding the from-email-address and for my custom-repository.properties the mail.from.defalut is overriden.
Even if I config within the core repository.properties and within the web-client-config.xml the from address will still be alfresco@alfresco.org.

This behavior is appearing both when to apply a rule on a space (notify space users on inbound for example) or when I Run action  Send email to specified users.
When I execute my javascript  with mail.parameters.from="mymail@mail.com" the from adress is set properly (with my custom address and not alfresco@alfresco.org).

Is the alfrecso@alfresco.org  hard coded somewhere? Or have I missunderstod something with the configurations?

Thanks!

thaspesl
Champ in-the-making
Champ in-the-making
Is the alfrecso@alfresco.org hard coded somewhere? Or have I missunderstod something with the configurations?
Posted long time ago but since I had the same problem and no one else posted a solution, I'm happy to share the most simple solution ever (no need to change property or xml files). Just change the default email of the default admin user to something you want to have email sent from. Go to admin console > manage system users > edit admin user and modify email
Regards