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 » SendMail Error

Post new topic  Reply to topic
 SendMail Error « View previous topic :: View next topic » 
Author Message
Jenney
PostPosted: Mon Mar 24, 2008 9:44 am    Post subject: SendMail Error Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

Hi All,

I have installed sendmail plugin on Win Broker v6.0.0.6, created a test message and deployed it successfully.

When i test the flow i get following error, can you please give me an idea what this error is?

Quote:
503 5.5.2 Need Rcpt command.\r\n


Thanks in Advance
Jen.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 24, 2008 9:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

This is a mail server error.

You should talk to your mail server administrator about this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Jenney
PostPosted: Fri Mar 28, 2008 9:50 am    Post subject: Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

Here's the discription my server admin gave, I am not sure what to do,

I am just following the ia07.pdf doc, Am i setting worng sender mail details?

Do i have to set sender mail address only in the email node not in the XML message?

Quote:
Problem Description
When trying to send an email message with AspEmail, the following error is generated by the Send method:
Persits.MailSender.4 (0x800A0006)
503 5.5.2 Need Rcpt command.
Other variations of this error for different SMTP implementations include:
503 5.0.0 Need RCPT (recipient)
503 must have sender and recipient first
503 Need RCPT
503 Need RCPT (recipient)
503 No recipients specified
503 No recipients: need RCPT
503 RCPT first (#5.5.1)
503 Unexpected command or sequence of commands
Solution
Most likely, this error means your script is not calling any of these methods:
AddAddress
AddCC
AddBcc
As a result, AspEmail gets no recipient addresses to send a message to. Check the logic of your code. If you are calling AddAddress/AddCC/AddBcc in a loop, make sure the body of the loop is entered at least once.
For example, if you are looping through a recordset to obtain your recipient addresses, make sure your database query returns at least one record.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Mar 28, 2008 10:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So your email did not include a "To".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Jenney
PostPosted: Fri Mar 28, 2008 10:11 am    Post subject: Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

This is the XML i am using
Quote:

<Message>
<From>Jen@mymail.com</From>
<To>Jen@mymail.com</To>
<Cc/>
<Bcc/>
<Subject>An e-mail with two attachments sent by WBI MB V5</Subject>
<Body><Line>This is test mail</Line></Body>
</Message>


SMTP server details:
SMTP Server Name = ipaddress of the mail server
Port Number = 25
Name of the from Person= Jen
Full name of the From person = Jenney Jones
all other node properties are blank.

thanks
Jen
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 » SendMail Error
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.