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 .
Solved! Go to Solution.
The only setting to change the default from address would be mail.from.default, but it only supports a static email address and will also run into the same issue you had when using mail.from.enabled (if the address is different than the user name).
The issue you are facing appears not to be a problem with Alfresco, but a limitation in GMail. Using mail.from.enabled IS the correct option in Alfresco, but if GMail makes this impossible to use then I'd say either "bad luck" or "use a better email service".
Hi Axel Faust,
Can you please guide me for this?
The only setting to change the default from address would be mail.from.default, but it only supports a static email address and will also run into the same issue you had when using mail.from.enabled (if the address is different than the user name).
The issue you are facing appears not to be a problem with Alfresco, but a limitation in GMail. Using mail.from.enabled IS the correct option in Alfresco, but if GMail makes this impossible to use then I'd say either "bad luck" or "use a better email service".
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.