cancel
Showing results for 
Search instead for 
Did you mean: 

Email Header Question

102020
Champ on-the-rise
Champ on-the-rise
Hey All,

ok so I've got the following in my alfresco-global (which works):

### E-mail site invitation setting ###
notification.email.siteinvite=true
mail.host=192.168.x.x
mail.port=25
mail.encoding=UTF-8
mail.from.default=abc@123.com
mail.protocol=smtp

We have an internal smtp not needed auth so that's not the question as emails do get sent out.
My quesiton is, when we receive the 'Alfresco Share: Recent Activities' email, it is showing the correct header 'from' address of abc@123.com.
However, when inviting a user to join a group (users are internal and attached to AD), the email header 'from' comes from admin@alfresco.com. How do we fix this?

We are running on a windows system. I've got a windows grep for value admin@alfresco.com and found refarance in c:\alfresco\tomcat\webapps\alfresco\web-inf\classes\alfresco\bootstrap\system.xml, but changing the value didnt change the result.
Also found reference in c:\alfresco\tomcat\webapps\alfresco\web-inf\classes\alfresco\subsystems\activitiesfeed\default\activities-feed-context.xml

Any help on this annoyance would be great.
11 REPLIES 11

bopolissimus
Confirmed Champ
Confirmed Champ
A related question (it *is* an email header :-).  Is it possible to set the Reply-To to be the currently logged in user?  i.e., we want a default sender (an admin email account.  We're using gmail, thousands of ldap users) to send the email. But if people click on Reply to the email, we'd like the reply to go to the inviter (not to the default sender email account).

Is that possible already with configuration? If custom code is needed, around where would I start looking?

Other background: we're sending via gmail and gmail changes the From address to the user who authenticates to gmail (default admin email user) instead of the inviter.

Many Thanks,

Gerald Quimpo

mrogers
Star Contributor
Star Contributor
mail.from.enabled=false