About twisted.mail.smtp.SMTPDeliveryError

Aahz aahz at pythoncraft.com
Sun May 10 02:09:48 CEST 2009


In article <8bb91b91-c00d-48d1-8b64-6f4765754e1c at d19g2000prh.googlegroups.com>,
gganesh  <ganesh.gbg at gmail.com> wrote:
>
>MAILSERVER = 'mail.xxx.com'
>done = sendmail(MAILSERVER, FROM, listTo,
>MSGBODY ,senderDomainName=None, port=25)
>
>"Failure: twisted.mail.smtp.SMTPDeliveryError: 554 No recipients
>accepted"
>and
>"Relay access denied" errors
>
>Is this error is because, i haven't authenticated my email account to
>send mail.  Is so , having username and password of smpt server ,how to
>authenticate in Twisted Framework

Are you doing this from your local machine?  If yes, you probably need to
use your ISP's SMTP server; blocking non-local access is one technique
for keeping zombied machines from spewing malware.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan



More information about the Python-list mailing list