Overview
You have an Email adapter that is working fine with one set of credentials. However, when you switch to using another set of credentials for a different account, the Email adapter no longer works and is unable to send mail. You may see the following error messages logged:
- OutGoingMailException: Error occured while sending mail
- Error in External Performer Execution <com.savvion.sbm.adapters.email.EmailAdapter:execute>
Solution
This issue occurs because some special characters like ^ are ignored when encrypting the password. To fix this, encase your password parameter in quotation marks. As an example, you may encrypt your password like so:
C:\Workspace\Savvion\Pramati\SBM2015PR\bin>
encrypt.cmd "Abc^d"
Then, edit sbmemail.properties in your Email adapter with the output encrypted password.