2 hours ago
Hi All,
I have implemented Alfresco outbound email configuration to send mail to smtp.office365.com with the following configuration below:
# Outbound Email Configuration
#-------------
mail.host=smtp.office365.com
mail.port=587
mail.protocol=smtp
mail.username=username@companydomain.com
mail.password=user-password
mail.encoding=UTF-8
# Use SSL for secure communication
mail.smtp.starttls.enable=true
mail.smtp.auth=true
# Debugging (optional)
mail.debug=true
But when I execute a workflow with email notification, I get the following error below:
2025-03-05T12:11:35,335 [] ERROR [action.executer.MailActionExecuter] [mailAsyncAction4] Failed to send email to [mogunleye] : org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 554 5.2.252 SendAsDenied; "authenticated email address" not allowed to send as "sender email address"; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied;
Can anyone please assist me on how to resolve this issue or anyone with good experience of Office365 email?
Thanks in advance.
Explore our Alfresco products with the links below. Use labels to filter content by product module.