-
1. Re: Email Configuartion in JBoss ESB?
arjunpnair Jul 14, 2009 8:17 AM (in response to arjunpnair)Hi,
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.
Regards,
Arjun -
2. Re: Email Configuartion in JBoss ESB?
beve Jul 15, 2009 5:10 AM (in response to arjunpnair)Hi,
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="person@somewhere.com" sendTo="person@elsewhere.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:
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/docs/ProgrammersGuide.odt
Regards,
/Daniel -
3. Re: Email Configuartion in JBoss ESB?
arjunpnair Jul 20, 2009 2:57 AM (in response to arjunpnair)Hi Daniel,
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?
Regards,
Arjun -
4. Re: Email Configuartion in JBoss ESB?
jackalista Aug 18, 2010 11:10 AM (in response to arjunpnair)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...
-=j=-