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_client/axis2.xml
and adding the following mail transport configuration.
Code Block |
---|
<transportSender name="mailto" class="org.apache.axis2.transport.mail.MailTransportSender"> <parameter name="mail.smtp.hostfrom">smtp>synapse.demo.gmail1@gmail.com</parameter> <parameter name="mail.smtp.port">587<user">synapse.demo.1</parameter> <parameter name="mail.smtp.starttls.enablepassword">true<>mailpassword</parameter> <parameter name="mail.smtp.auth">true<host">smtp.gmail.com</parameter> <parameter name="mail.smtp.userport">USERNAME<>587</parameter> <parameter name="mail.smtp.passwordstarttls.enable">PASSWORD<>true</parameter> <parameter name="mail.smtp.fromauth">USERNAME@gmail.com<>true</parameter> </transportSender> |
This will cause each E-mail to be sent to the corresponding delivery address present in the subscription , using USERNAME@gmailusing, synapse.demo.1@gmail.com
as 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.
Excerpt | ||
---|---|---|
| ||
Information about configuring Registry to send e-mails. |