Hi. I'm trying to configure the sending of mail from my alfresco to notify users by mail when they are invited for example. I have configured the alfresco-global.properties file like this: mail.host=smtp.office365.com mail.port= 587 mail.username= email@example.com mail.password= xxxxx mail.encoding=UTF-8 mail.protocol=smtps mail.smtps.starttls.enable=true mail.smtps.auth=true
But the mails are not transmitted to the users I can't find a log file to help me, do you have any indications?
I see there is a space before the actual value in your mail.port, mail.username and mail.password property configuration. Not sure if you have put in same way in your alfresco-global.properties file. Please check if values are set correctly.
In addition, enable step by step debug logging your code where you are trying to send emails. It will help you nail down the cause. If you are using org.alfresco.repo.action.executer.MailActionExecuter for sending emails, then add the following debug log config in your log4j.properties file: