Author |
Message
|
Vijji |
Posted: Wed Apr 05, 2006 9:50 am Post subject: SendMail plugin Node |
|
|
 Voyager
Joined: 30 Aug 2005 Posts: 83
|
Hello everybody,
I'm trying to send a mail using sendmail plugin node in 6.0 .But i'm getting the error like " 501 Syntax error in address pvasireddy@xyz.com".My flow having MQInputNode->Compute->SendmailPlugin->MQOutput.
The following is the trace for my flow.
Code: |
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2006-04-05 17:43:13.350'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'q1'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d51205742524b365f44454641554c32f7334420000f07'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'WBRK6_DEFAULT_QUEUE_MANAGER '
(0x03000000):UserIdentifier = 'mss113 '
(0x03000000):AccountingToken = X'16010515000000fd77b156c6bb507a43170a32e803000000000000000000000b'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 11
(0x03000000):PutApplName = 'C:\WINNT\system32\mmc.exe '
(0x03000000):PutDate = DATE '2006-04-05'
(0x03000000):PutTime = GMTTIME '17:43:13.350'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XML = (
(0x01000000):Message = (
(0x01000000):From = (
(0x02000000): = 'uavuthu@xyz.com'
)
(0x01000000):To = (
(0x02000000): = 'pvasireddy@xyz.com'
)
(0x01000000):Subject = (
(0x02000000): = 'From the broker'
)
(0x01000000):Body = (
(0x02000000): = 'howdy from the broker'
)
(0x01000000):SendMailError = (
(0x02000000): = '501 Syntax error in address pvasireddy@xyz.com
'
)
)
)
)
|
pls help me out. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 05, 2006 10:04 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
501 is an SMTP error code. It says that the mail server didn't like the address. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vijji |
Posted: Wed Apr 05, 2006 10:22 am Post subject: |
|
|
 Voyager
Joined: 30 Aug 2005 Posts: 83
|
Hi Jeff,
Thanx for ur reply.
I tried with same SMTP Server by using the java mail program .I got it.I know it is the SMTP server error.But i don't know Where i went wrong in MB .Can u post some sample code on how to set the properties of plugin node.I guess it is the problem with from address. |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed Apr 05, 2006 7:41 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi Vijji,
Can you tell us what all properties ur setting in the plugin node....
Regards. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Apr 06, 2006 1:49 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
I'd send e-mail to Arjan: avv@nl.ibm.com , perhaps as the author, he has an idea. _________________ -wayne |
|
Back to top |
|
 |
Vijji |
Posted: Thu Apr 06, 2006 5:28 am Post subject: |
|
|
 Voyager
Joined: 30 Aug 2005 Posts: 83
|
Hi,
Thanx for ur replies.
The following are the properties which i'm setting in plugin node
SMTP: SMTP Servername-->mail.miraclesoft.com
Port-->25
Name of the From person--->uavuthu@xyz.com
Full Name of the From person-->vijji
Sendmail:Full name of the sender[-Ffullname]-->vasireddy
Name of the from person[-fname]---->vijji
Hop count-->2
MIME:Content Type---->UTF-8
Content transfer Encoding-->Base64
and Checked the MIME |
|
Back to top |
|
 |
EddieA |
Posted: Thu Apr 06, 2006 5:35 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Vijji wrote: |
Hi,
Thanx for ur replies.
The following are the properties which i'm setting in plugin node
SMTP: SMTP Servername-->mail.miraclesoft.com
Port-->25
Name of the From person--->uavuthu@xyz.com
Full Name of the From person-->vijji
Sendmail:Full name of the sender[-Ffullname]-->vasireddy
Name of the from person[-fname]---->vijji
Hop count-->2
MIME:Content Type---->UTF-8
Content transfer Encoding-->Base64
and Checked the MIME |
Well, that's kinda "apples and oranges", because you've filled in the properties on both the SMTP and the SendMail pages. Which version of the PlugIn do you have deployed.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Vijji |
Posted: Fri Apr 07, 2006 5:08 am Post subject: |
|
|
 Voyager
Joined: 30 Aug 2005 Posts: 83
|
|
Back to top |
|
 |
EddieA |
Posted: Fri Apr 07, 2006 8:19 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
When I said "which version", I meant did you install the lil that supports SMTP, or did you install the lil that supports SendMail. They are BOTH called SendMailPlugIn, so that isn't the answer.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Vijji |
Posted: Fri Apr 07, 2006 9:13 am Post subject: |
|
|
 Voyager
Joined: 30 Aug 2005 Posts: 83
|
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 07, 2006 9:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Then you can't use the SMTP properties page. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vijji |
Posted: Fri Apr 07, 2006 9:57 am Post subject: |
|
|
 Voyager
Joined: 30 Aug 2005 Posts: 83
|
Hi Jeff,
I think the SMTP property in the send mail plugin node is mandatory.
OR Can u tel me exactly where am i doing worng,by looking at my prev msgs.
Thnx,
Vijji. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 07, 2006 10:18 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
This node will never establish an SMTP connection from the "sendmail" version of the plugin.
Conversely, this node will never call the local sendmail command from the "smtp" version of the plugin. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vijji |
Posted: Thu Apr 20, 2006 9:30 am Post subject: |
|
|
 Voyager
Joined: 30 Aug 2005 Posts: 83
|
Hi ,
problem is solved.I kept the to address in angular braces.like
Code: |
SET OutputRoot.XML.Message.To = '<xyz@abc.com>'; |
Thanks for the help. |
|
Back to top |
|
 |
EAI Developer |
Posted: Thu Apr 20, 2006 11:25 am Post subject: |
|
|
 Centurion
Joined: 30 Nov 2005 Posts: 101 Location: US
|
Hi,
Thank q very much for late ,yet nice update.
Cheers,
EAI Developer. |
|
Back to top |
|
 |
|