Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Follow the steps below to configure WSO2 Governance Registry to send notifications via email.

This sends each email to the corresponding delivery address present in the subscription using synapse.demo.1@gmail.com as the sender. This configuration is for an email address obtained from gmail.com. Similarly, you can use any other sender email address for which, the email service provider grants access to a SMTP Server.

  1. Add the following mail transport configuration to the <G-REG_HOME/repository/conf/axis2/axis2.xml file.

    <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>
  2. Update the following property in the <G-REG_HOME>/repository/conf/axis2/axis2.xml file.

    <transportReceiver name="mailto" class="org.apache.axis2.transport.mail.MailTransportListener"></transportReceiver>
  • No labels