03-05-2018 09:25 AM
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 .
03-06-2018 09:06 AM
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".
03-06-2018 08:53 AM
Hi Axel Faust,
Can you please guide me for this?
03-06-2018 09:06 AM
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".
Explore our Alfresco products with the links below. Use labels to filter content by product module.