smtplib does not send to all recipients

Steve Holden steve at holdenweb.com
Mon Apr 11 16:06:01 EDT 2005


dccarson at gmail.com wrote:
> I changed debuglevel to 1 and looked at the response on the recipient
> names.  They are BOTH accepted, but still only my id (d123456) receives
> the e-mail.  The long id (d1234567890) never gets the e-mail.  Here is
> the excerpt of the exchange.
> 
> send: 'mail FROM:<d123456 at myDomainHere.com> size=160\r\n'
> reply: '250 2.1.0 <d123456 at myDomainHere.com>... Sender ok\r\n'
> reply: retcode (250); Msg: 2.1.0 <d132456 at myDomainHere.com>... Sender
> ok
> send: 'rcpt TO:<d123456>\r\n'
> reply: '250 2.1.5 <d123456>... Recipient ok\r\n'
> reply: retcode (250); Msg: 2.1.5 <d123456>... Recipient ok
> send: 'rcpt TO:<d1234567890>\r\n'
> reply: '250 2.1.5 <d1234567890>... Recipient ok\r\n'
> reply: retcode (250); Msg: 2.1.5 <d1234567890>... Recipient ok
> 

In which case the Python is working perfectly correctly and you need to 
take the matter up with whoever runs the SMTP server. Are you sure the 
address is actually valid?

regards
  Steve
-- 
Steve Holden        +1 703 861 4237  +1 800 494 3119
Holden Web LLC             http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/




More information about the Python-list mailing list