cancel
Showing results for 
Search instead for 
Did you mean: 

3.4.b Outbound SMTP settings for Gmail...Anyone Succeeded?

afrescoaero
Champ in-the-making
Champ in-the-making
Hello All,

I have been battling this issue for days to no avail. I wish to use the gmail smtp server to send my "invites" from alfresco to new users, however I still havn't managed to solve it and i receive the "0 invites sent, 1 failure" error..

Does anyone have a working example of code they've used in the Oubound SMTP configuration file? and any other file they've edited to make it work? Any working code examples would be appreciated.


Best Regards
14 REPLIES 14

mac_src
Champ in-the-making
Champ in-the-making

mrogers
Star Contributor
Star Contributor
and if your version is > 3.4 (so 3.5 and 4.0) also make sure

notification.email.siteinvite is true to send out emails for invitations.

muthukimoses
Champ in-the-making
Champ in-the-making
where is this "notification.email.siteinvite"? is is the one in the profile as "email notification feed"?

muthukimoses
Champ in-the-making
Champ in-the-making
this is in alfresco-global.properties.

tusharpatel88
Champ in-the-making
Champ in-the-making
mail.host=smtp.gmail.com
mail.port=465
mail.username=youremail
mail.password=yourpassword

mail.protocol=smtps
mail.smtps.starttls.enable=true
mail.smtps.auth=true
mail.testmessage.send=true
mail.testmessage.to=youremail
mail.testmessage.subject=Outbound SMTP
mail.testmessage.text=The Outbound SMTP email subsystem is working.
mail.smtps.starttls.enable=true
mail.smtp.socketFactory.port=465
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.fallback=false
notification.email.siteinvite=true



1 Please add above properties in global.properties file.
2 change email and password according to youre email.
3 Restart server
4 The email notification will send to your server.