Follow the steps below to configure WSO2 Governance Registry to send notifications via email.
Info |
---|
This sends each email to the corresponding delivery address present in the subscription using |
Add the following mail transport configuration to the <
G-REG_HOME/repository/conf/axis2/axis2.xml
file.Code Block <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>
Update the following property in the
<
G-REG_HOME>/repository/conf/axis2/axis2.xml
file.Code Block <transportReceiver name="mailto" class="org.apache.axis2.transport.mail.MailTransportListener"></transportReceiver>
Excerpt | ||
---|---|---|
| ||
Information about configuring Registry to send e-mails. |