|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Not able to send email with EmailOutput node to Gmail Server |
« View previous topic :: View next topic » |
Author |
Message
|
lium |
Posted: Mon Feb 07, 2011 1:11 pm Post subject: Not able to send email with EmailOutput node to Gmail Server |
|
|
Disciple
Joined: 17 Jul 2002 Posts: 184
|
Hi, I developed an message flow which sends email to SMTP server.
It worked fine with an email server. However, when I configured it to send email to Gmail SMTP server, I got:
2011-02-07 12:25:17.085466 10816 RecoverableException BIP4459E: The EmailOutput node received a Java exception when it tried to create an e-mail and send it to the SMTP server. The stack trace from the exception is 'com.ibm.broker.emailnodes.EmailOutputNode : com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. g28sm3011958qck.25
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
at com.ibm.broker.emailnodes.EmailOutputNode.sendMail(EmailOutputNode.java:435)
at com.ibm.broker.emailnodes.EmailOutputNode.sendMimeEmail(EmailOutputNode.java:692)
at com.ibm.broker.emailnodes.EmailOutputNode.sendData(EmailOutputNode.java:354)
at com.ibm.broker.plugin.MbOutputTemplateNode.sendData(MbOutputTemplateNode.java:47)
'.
Review the stack trace and correct any errors. Contact your IBM support center if you are unable to resolve the problem.
The Gmail SMTP Server requires TLS encrypted connection, I followed the http://mail.google.com/support/bin/answer.py?answer=77689 to configure my outlook, and there was no problem.
So the problem seems to me is:
Gmail requires TLS encryption, however, the EmailOutput node does not support this. So there is no way to get EmailOutput node working with Gmail SMTP server, is this correct?
Great Thanks |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Feb 07, 2011 1:51 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
You may have to put a proxy between the broker and GMail.
That might do the Security stuff....
Otherwise, you may have to some custom code that does the sending for you. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Feb 07, 2011 3:48 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Given how simple this is to do in JavaMail, it's a little unclear why the EmailOutput node hasn't done it - except perhaps for a lack of time to actually test it.
Open a PMR, see if you can get the EmailOutput node enhanced for this without having to file a Requirement. It should be a relatively small enough change. |
|
Back to top |
|
 |
lium |
Posted: Wed Feb 09, 2011 8:20 pm Post subject: |
|
|
Disciple
Joined: 17 Jul 2002 Posts: 184
|
I personally don't think EmailOutput node supports TLS/SSL, also My understanding is it does not support multiple attachment, which are simple to JavaMail.
Now, I am trying to use JavaCompute to implement the functionality with JavaMail.
However, a question here:
For the EmailOutput, the userid/password of email account are stored as WMB properties, how can I query WMB properties to retrieve the user/password to be used in JavaCompute? |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Feb 09, 2011 10:28 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
lium wrote: |
My understanding is it does not support multiple attachment, which are simple to JavaMail.
|
It does proviced they are mime attachments. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|