[Tutor] smtp error

Kent Johnson kent37 at tds.net
Wed Sep 7 12:04:01 CEST 2005


Shitiz Bansal wrote:
> does this error make sense to anyone?
> 
> Traceback (most recent call last):
>   File "C:/Documents and
> Settings/Administrator/Desktop/lkp.py", line 46, in
> -toplevel-
>     s.sendmail(msg['From'], i, msg.as_string())
>   File "C:\Python24\lib\smtplib.py", line 692, in
> sendmail
>     raise SMTPDataError(code, resp)
> SMTPDataError: (550, 'Invalid recipient:
> shitizb at yahoo.com')

The error message is coming from your SMTP server, not from Python. Maybe the server is not correctly configured to forward mail to external addresses?

Kent



More information about the Tutor mailing list