AnsweredAssumed Answered

How to change default from address of outbound emails to a user's email address?

Question asked by manav on Mar 5, 2018
Latest reply on Mar 6, 2018 by afaust

I am using Alfresco 5.1 Community Edition .

I have developed SSO and I wanted to change the default from address of outbound emails to a user's email address.

I am able to send emails .

Always the from address is set to my given user name mail.username=xyz@gmail.com.

mail.host=smtp.gmail.com
mail.port=465
mail.encoding=UTF-8
mail.username=XYZ@gmail.com
mail.password=**********
mail.protocol=smtps
mail.from.enabled=false
mail.smtps.starttls.enable=true
mail.smtps.auth=true

 

mail.from.enabled=false
I have found that using above property we can enable from  address from mail.username=xyz@gmail.com to user's email address and we need to do some configuration in xyz@gmail.com id like adding alias Send emails from a different address or alias - Gmail Help .

 

But I am not able to change the default from address of outbound emails to a user's email address without above configuration like I don't wanted to add alias.


I wanted to do the same without above configuration.

Is there any way to change this? please help .

Outcomes