Email node failing with below error “ Client does not have permissions to send as this sender”
we have requirement to send the custom email sender for business. So, we configured in below properties files and able to see new drop-down values in email setup. But run time email node is failing.
This setup is working fine in Dev but failing in QA environment.
Email constant updated with correct email address.
/email-address-config-custom_en_US.properties
---------------------------------------------------------------------
address.ImplementationTeam.displayName=HR Team
address. ImplementationTeam.emailDisplayName=HR Team
/email-address-config-custom.xml
--------------------------------------------------------
<address name="ImplementationTeam">
<expression>=toemailaddress(cons!IMPLEMENTATION_EMAIL)</expression>
</address>
<item>ImplementationTeam</item>
Discussion posts and replies are publicly visible
Error log -
2020-01-21 09:36:52,377 [Appian Work Item - 204 - execution01 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ap2.mail.Mail - Could not send mail via xx.xxx.xxx.xx:25 to
2020-01-21 09:36:52,377 [Appian Work Item - 204 - execution01 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender
com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender
Hi Kethj,
Try by setting in assignment tab of send E-mail node as "Run as whoever designed this process model". Now you try. It will work.