[Tutor] problem with rejected mail smtplib

Kent Johnson kent37 at tds.net
Sun Jul 30 13:43:41 CEST 2006


shawn bright wrote:
> Hello there,
> i have a customer list, each with a number of email address that we 
> send notifications to via text message.
> the problem is, there are a number of providers ( just two ) that 
> reject our messages.
What error do you get with the rejection?

Kent
> the script goes a little something like this :
>
> Address = 'going at somewhere.net <mailto:going at somewhere.net>'
> From = 'me at myhost.net <mailto:me at myhost.net>'
> message = 'From: me at myhost.net\r\nTo: %s\r\nSubject: %s\r\n\r\n%s' % 
> (Address,'alert',message)
> server.sendmail(From, Address, message)
>
> most of the time it goes thru ok. but only some providers have a 
> problem. However, those same providers get messages if i send them 
> thru Evolution.
>
> any ideas of what to check out?
>
> thanks
> -sk
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>   




More information about the Tutor mailing list