To send email from SOA server is an easy job if we follow the steps carefully. Otherwise It can sometimes become nightmare to debug the issue. For e.g even if we configure the details on the email driver in em console still there could be an issue while trying to send email . One of the most common error is Reason: Invalid Addresses.
Obviously we will think this is due to the invalid recipient address. But this could be due to invalid configuration of the email driver.
To configure email in soa suite we need to do the following steps
1. configure email driver properties
Give the following properties in the email driver configuration screen
Apply Changes
2.Open Em Console
Right click on SOA Infra
Choose SOA Administration->WorkFlow Properties
Apply changes
3. Restart the managed server ( very important step)
4. How To Test Email Notification ( after server restart)
Obviously we will think this is due to the invalid recipient address. But this could be due to invalid configuration of the email driver.
To configure email in soa suite we need to do the following steps
1. configure email driver properties
- Open em console
- Goto UserMessagingService
- Click on UserMessageingDriver(SOA)
- Edit Email Driver Configuration
Give the following properties in the email driver configuration screen
- Sender Address ( format EMAIL:<the sender's email address> (This step is mandatory to send the email successfully)
- Outgoing SMTP Server
- Outgoing SMTP Port
- The user account(email) to authenticate the smtp server
- The password for the above email address
Apply Changes
2.Open Em Console
Right click on SOA Infra
Choose SOA Administration->WorkFlow Properties
- 1.Set the NotificationMode as EMail
- 2. Set the sender email address, reply to email address, alternate email address
- Note( Ensure the sender address in the email driver and the one in WorkFlow properties exactly match)
Apply changes
3. Restart the managed server ( very important step)
4. How To Test Email Notification ( after server restart)
- 1. Goto em console
- 2. Right click on soa-infra and select ServiceEngine->humanworkflow
- 3. Goto Notification Management Tab
- 4. Click on Test Notification
- 5. Give the recipient email address, subject, message body etc.. choose the notification type as EMail
- 6. Click on Sent Button.
- 7.The status should show as SENT
- 8.Check your inbox whether you got the email