This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Configuration for Registry to send E-mails
The WSO2 Governance Registry requires to be configured in order to send notifications via E-mail. This is simple as editing the GREG_HOME/repository/conf/axis2/axis2.xml
and adding the following mail transport configuration.
<transportSender name="mailto" class="org.apache.axis2.transport.mail.MailTransportSender"> <parameter name="mail.smtp.from">synapse.demo.1@gmail.com</parameter> <parameter name="mail.smtp.user">synapse.demo.1</parameter> <parameter name="mail.smtp.password">mailpassword</parameter> <parameter name="mail.smtp.host">smtp.gmail.com</parameter> <parameter name="mail.smtp.port">587</parameter> <parameter name="mail.smtp.starttls.enable">true</parameter> <parameter name="mail.smtp.auth">true</parameter> </transportSender>
This will cause each E-mail to be sent to the corresponding delivery address present in the subscription using, synapse.demo.1@gmail.com
as the sender. This configuration is meant for an E-mail address obtained from gmail.com
. Similarly, any other sender E-mail address for which the E-mail service provider grants access to a SMTP Server, can be used to send E-mail.