I have configured the smtp host name in "mail-service.xml" and also uncommented the EmailAlertListener in "monitoring-service.xml" file. Still Email Notifier is not sending the mail to my email id.
Am i missing anything else in the configuration. Please help me as it is very urgent for my project.
Also please help me (how and where) configuring smtp (hostmane) and POP3.
This can be configured as a global setting in deploy/jbossesb.sar/jbossesb-properties:
<properties name="transports" depends="core"> <property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/> <property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/> <property name="org.jboss.soa.esb.mail.smtp.password" value=""/> <property name="org.jboss.soa.esb.mail.smtp.port" value="25"/> <property name="org.jboss.soa.esb.mail.smtp.auth" value="true"/> </properties>
These can also be overridden in jboss-esb.xml:
<target class="NotifyEmail" host="localhost" port="8801" username="smtpUsername" password="smtpPassword" auth="true" from="firstname.lastname@example.org" sendTo="email@example.com" subject="theSubject"> msgAttachmentName="theSubject"> <attachment>attachThisFile.txt</attachment> </target>
With JBossESB 4.6 we are shipping an EmailRouter and an EmailWiretap action that might be of interest to you. Please see the ProgrammersGuide for more details:
Thanks for your help.
I tried your suggestion by configuring the Mail Notifier in the jboss-esb.xml itself. But still i didn't got the expected result. In the console also it is not showing error or any output related the Mail Notifier.
So i have created my own custom action class for mail notification. It is working fine.
Is there anything which i am missing in the configuration which you provided?
Hi, I realize this is an old thread but it's the only one I've found that focuses on the EmailWiretap/Router/Notifier. Is it possible to send MIME multipart messages via these components? I would like to send a MIME multipart email message with HTML and plain text parts. Is it possible to do this? tia...