smtplib.SMTPDataError: (503, 'Error: need RCPT command')

Emile van Sebille emile at fenx.com
Tue Oct 23 08:24:20 EDT 2001


"Richard van de Stadt" <stadt at cs.utwente.nl> wrote in message
news:3BD4F3E8.1E4B826B at cs.utwente.nl...
<snip>
>
> Could anyone explain what this RCPT command is that seems to be needed?
>

Start with http://www.ietf.org/rfc/rfc821.txt

            RCPT <SP> TO:<forward-path> <CRLF>

         This command gives a forward-path identifying one recipient.
         If accepted, the receiver-SMTP returns a 250 OK reply, and
         stores the forward-path.  If the recipient is unknown the
         receiver-SMTP returns a 550 Failure reply.

Other related RFC's include 1869, 1893, 1894 and 2034.


--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list