AuthenticationFailedException occurs while sending email
While sending emails from CPM portal, developer gets an exception.
Steps to Reproduce
1. Use SendEmailMessage activity which is OOTB activity to send email notifications.
2. Pass all the required parameters to this sendEmailMessage when you call it from another activity.
3. Configure such that it runs when user selects the send email local action option.
This AuthenticationFailedException is a generic exception.
In this case, developer is sending wrong values to parameters pyFromUserID, pyFrom which are required to authenticate on Email server.
This issue is resolved through the following Local-change:
Instead of using SendEmailMessage activity directly and send parameters to it manually, you must call SendSimpleEmail activity through which you can pass parameters automatically to SendEmailMessage.
0% found this useful