When you use the ESB profile of WSO2 Enterprise Integrator (WSO2 EI) to mediate messages, the mediation sequence can be configured to send emails (over SMTP) or receive emails (Over POP3 or IMAP) by using the MailTo transport protocol. The MailTo transport sender and receiver should be enabled in the axis2.xml
file (stored in the <EI_HOME>/conf/axis2/
directory) by uncommenting the sender/receiver configurations. In addition to enabling the transport, you can add more properties to this configuration to control the behavior of the transport.
...
Parameter Name | Description | Possible Values |
---|---|---|
| If one or more e-mail addresses need to be specified as BCC addresses for outgoing mails, this parameter can be used. | A comma-separated list of e-mail addresses |
| Format of the outgoing mail. | Text, Multipart |
Note |
---|
Be sure to import the SSL certificate of your SMTP host server (specified by the When importing the certificate, be sure to use a certificate alias that is relevant to your server. For example, if you are using Gmail, use 'smtp.gmail.com' as the certificate alias. See the instructions on importing certificates to a keystore. |
Step 2: Configuring the mediation flow
...