ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Syntax Error for Email ..!

Post new topic  Reply to topic
 Syntax Error for Email ..! « View previous topic :: View next topic » 
Author Message
vgollakota
PostPosted: Mon Jun 25, 2007 5:18 am    Post subject: Syntax Error for Email ..! Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 37

While I m trying to work out with the Email Node , from the supportpacs,
i have a problem like

SendMailError
501 Syntax error in address shasini@gmail.com\r\n


Can any one help out me with a solution...!


Thanks....
_________________
G.VANDANA
Back to top
View user's profile Send private message
mrgate
PostPosted: Mon Jun 25, 2007 6:52 am    Post subject: Reply with quote

Centurion

Joined: 28 Feb 2007
Posts: 141
Location: India

Hello can you specify the platform and the version of message broker that you are working on.
Back to top
View user's profile Send private message
vgollakota
PostPosted: Mon Jun 25, 2007 7:17 am    Post subject: Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 37

rock wrote:
Hello can you specify the platform and the version of message broker that you are working on.



platform is Windows 2000 professional and the version of MB is V 6.0.0
_________________
G.VANDANA
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Jun 25, 2007 7:31 am    Post subject: Re: Syntax Error for Email ..! Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi vgollakota,

vgollakota wrote:
SendMailError
501 Syntax error in address shasini@gmail.com\r\n
I think the address might not be getting recognized due to the carriage return line feed.

Can you show us the message being sent to the node...i mean file trace...

Regards.
Back to top
View user's profile Send private message Send e-mail
JosephGramig
PostPosted: Mon Jun 25, 2007 8:08 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Hmmm, I don't think Windows 2000 Pro is supported as a Broker platform.
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
vgollakota
PostPosted: Tue Jun 26, 2007 1:09 am    Post subject: Re: Syntax Error for Email ..! Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 37

elvis_gn wrote:
Hi vgollakota,

vgollakota wrote:
SendMailError
501 Syntax error in address shasini@gmail.com\r\n
I think the address might not be getting recognized due to the carriage return line feed.

Can you show us the message being sent to the node...i mean file trace...

Regards.



<Message>
<Rfc822Udf>
<Mailer>IBM WBI Message Broker V5 Plug-in node</Mailer>
<Author>Gollakota</Author>
</Rfc822Udf>
<From>nittala_john@rediffmail.com</From>
<To>shasini@gmail.com</To>
<Subject>An e-mail sent by WBI MB V5</Subject>
<Body>
<Line>Hello hw r u </Line>
<Line>This is a Test Mail for SendMailPlugin</Line>
</Body>
</Message>

this is the actual message and this is the file trace for the error...!


this the file trace.....!

(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-06-26 09:10:08.950'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'IA07.EMAIL.IN'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Format = ' '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d51205742524b365f44454641554c80d1804620001001'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'WBRK6_DEFAULT_QUEUE_MANAGER '
(0x03000000):UserIdentifier = 'mss296 '
(0x03000000):AccountingToken = X'160105150000003de3084db47b733443170a32e903000000000000000000000b'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 11
(0x03000000):PutApplName = 's\mss296\Desktop\rfhUtil.exe'
(0x03000000):PutDate = DATE '2007-06-26'
(0x03000000):PutTime = GMTTIME '09:10:08.950'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XML = (
(0x01000000):Message = (
(0x01000000):Rfc822Udf = (
(0x01000000):Mailer = (
(0x02000000): = 'IBM WBI Message Broker V5 Plug-in node'
)
(0x01000000):Author = (
(0x02000000): = 'Gollakota'
)
)
(0x01000000):From = (
(0x02000000): = 'nittala_john@rediffmail.com'
)
(0x01000000):To = (
(0x02000000): = 'shasini@gmail.com'
)
(0x01000000):Subject = (
(0x02000000): = 'An e-mail sent by WBI MB V5'
)
(0x01000000):Body = (
(0x01000000):Line = (
(0x02000000): = 'Hello hw r u '
)
(0x01000000):Line = (
(0x02000000): = 'This is a Test Mail for SendMailPlugin'
)
)
)
)
(0x01000000):BLOB = (
(0x03000000):BLOB = X'3c4d6573736167653e3c5266633832325564663e3c4d61696c65723e49424d20574249204d6573736167652042726f6b657220563520506c75672d696e206e6f64653c2f4d61696c65723e3c417574686f723e472e56616e64616e613c2f417574686f723e3c2f5266633832325564663e3c46726f6d3e76676f6c6c616b6f7461406d697261636c65736f66742e636f6d3c2f46726f6d3e3c546f3e73686173696e6940676d61696c2e636f6d3c2f546f3e3c5375626a6563743e416e20652d6d61696c2073656e7420627920574249204d422056353c2f5375626a6563743e3c426f64793e3c4c696e653e48656c6c6f20687720722075203c2f4c696e653e3c4c696e653e5468697320697320612054657374204d61696c20666f722053656e644d61696c506c7567696e3c2f4c696e653e3c2f426f64793e3c2f4d6573736167653e'
(
(0x01000000):SendMailError = (
(0x02000000): = '501 Syntax error in address shasini@gmail.com

'
)
)
)
)
_________________
G.VANDANA
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Jun 26, 2007 1:23 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi vgollakota,

This trace was taken right before the SendMail plugin ? If not, please take a trace of the Root at this point.

How come it has an XML and a BLOB section ? Can we see your code ?

Regards.
Back to top
View user's profile Send private message Send e-mail
vgollakota
PostPosted: Tue Jun 26, 2007 1:40 am    Post subject: Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 37

elvis_gn wrote:
Hi vgollakota,

This trace was taken right before the SendMail plugin ? If not, please take a trace of the Root at this point.

How come it has an XML and a BLOB section ? Can we see your code ?

Regards.


Hai Elvis,

It is the same code from the EMAIL supported pacs, I think you have idea.
You find it in SupportPacsMessageFlows.

And this is the stack trace right before the SendMail plugin , the one I have sent you previously was the final trace .

(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-06-26 09:10:08.950'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'IA07.EMAIL.IN'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Format = ' '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d51205742524b365f44454641554c80d1804620001001'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'WBRK6_DEFAULT_QUEUE_MANAGER '
(0x03000000):UserIdentifier = 'mss296 '
(0x03000000):AccountingToken = X'160105150000003de3084db47b733443170a32e903000000000000000000000b'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 11
(0x03000000):PutApplName = 's\mss296\Desktop\rfhUtil.exe'
(0x03000000):PutDate = DATE '2007-06-26'
(0x03000000):PutTime = GMTTIME '09:10:08.950'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XML = (
(0x01000000):Message = (
(0x01000000):Rfc822Udf = (
(0x01000000):Mailer = (
(0x02000000): = 'IBM WBI Message Broker V5 Plug-in node'
)
(0x01000000):Author = (
(0x02000000): = 'G.Vandana'
)
)
(0x01000000):From = (
(0x02000000): = 'nittala_john@rediffmail.com'
)
(0x01000000):To = (
(0x02000000): = 'shasini@gmail.com'
)
(0x01000000):Subject = (
(0x02000000): = 'An e-mail sent by WBI MB V5'
)
(0x01000000):Body = (
(0x01000000):Line = (
(0x02000000): = 'Hello hw r u '
)
(0x01000000):Line = (
(0x02000000): = 'This is a Test Mail for SendMailPlugin'
)
)
)
)
(0x01000000):BLOB = (
(0x03000000):BLOB = X'3c4d6573736167653e3c5266633832325564663e3c4d61696c65723e49424d20574249204d6573736167652042726f6b657220563520506c75672d696e206e6f64653c2f4d61696c65723e3c417574686f723e472e56616e64616e613c2f417574686f723e3c2f5266633832325564663e3c46726f6d3e76676f6c6c616b6f7461406d697261636c65736f66742e636f6d3c2f46726f6d3e3c546f3e73686173696e6940676d61696c2e636f6d3c2f546f3e3c5375626a6563743e416e20652d6d61696c2073656e7420627920574249204d422056353c2f5375626a6563743e3c426f64793e3c4c696e653e48656c6c6f20687720722075203c2f4c696e653e3c4c696e653e5468697320697320612054657374204d61696c20666f722053656e644d61696c506c7567696e3c2f4c696e653e3c2f426f64793e3c2f4d6573736167653e'
)
)


Hope you would respond me soon.
_________________
G.VANDANA
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jun 26, 2007 9:08 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

SendMail return 501 is "Banned or invalid domain". This means that gmail.com either won't accept mail from rediffmail.com, or that isn't a valid domain.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jun 26, 2007 9:10 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Also, which version of the SendMail plugin are you using: SMTP or SendMail. And do you have the relevant properties set correctly.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jun 26, 2007 9:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

EddieA wrote:
SendMail return 501 is "Banned or invalid domain". This means that gmail.com either won't accept mail from rediffmail.com, or that isn't a valid domain.


Only if the SendMail node is configured to use gmail.com as the mail server....

Which I sincerely hope it's not!

SMTP return codes are given back from the SMTP Server that one has connected to - just like MQRC's.... - you won't get back a 501 from the destination mail server indicated in a To address.

Vgollakota needs to speak to the mail administrator at the local site, and work with them to get the appropriate information on what SMTP server to connect to, and how to configure the sendmail node appropriately. And listen to the mail administrator when they talk about regulatory and company policy requirements on what email gets sent and how and what kinds of addresses are used.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Syntax Error for Email ..!
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.