Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

    Code Block
    <transportSender<transportReceiver 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>MailTransportListener"></transportReceiver>
Excerpt
hiddentrue

Information about configuring Registry to send e-mails.