05-19-2021 01:29 PM
Only the admin user (or the user with the credentials in the alfresco-global.properties) can send an email notification.
Any other user Starting a workflow, can't send an email notification.
Error from the log:
ERROR [action.executer.MailActionExecuter] [mailAsyncAction2] Failed to send email to [djamel] : org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 554 5.7.8 User [admin@***********.com] not authorized to send on behalf of <ms.bara@*************.com>; message exceptions (1) are:Failed message 1: com.sun.mail.smtp.SMTPSendFailedException: 554 5.7.8 User [admin@********.com] not authorized to send on behalf of <ms.bara@***********.com>
05-21-2021 05:51 PM
SOLVED : mail.from.enabled=false
I've also added a TXT and SPF record to our domain (and i really don't know if it is important or not !!!).
05-20-2021 01:37 AM
05-20-2021 12:15 PM
mail.from.default=admin@***********.com
mail.from.enabled=true
05-20-2021 01:01 PM
The email configuration is configured according to the https://docs.alfresco.com/content-services/6.2/config/email/ and is working perfectly (for Inbound and outbound), the only problem is that "How can any user when starting a workflow get the Send email Notification working.
Is there a possibility to add the email account credentials (username & password) for the other users in the config file, cause all the emails will be send from the account specified in the config (mail.from.default)(in my case the admin account: admin@*****.com), and this rise the related error "Can't send on behalf of ....". If not, is there a way to authorize the admin account to send emails "on behalf or send as" of another user.
05-20-2021 01:04 PM
According to this document https://datatracker.ietf.org/doc/html/rfc4468
this error:
554 5.7.8 URL resolution requires trust relationship The submit server does not have a trust relationship with the IMAP server specified in the URL argument to BURL.
Explore our Alfresco products with the links below. Use labels to filter content by product module.