[Tutor] need help with sending email

Mike Hansen Mike.Hansen at atmel.com
Fri Jan 5 18:29:05 CET 2007


 

> -----Original Message-----
> From: tutor-bounces at python.org 
> [mailto:tutor-bounces at python.org] On Behalf Of shawn bright
> Sent: Friday, January 05, 2007 10:18 AM
> To: tutor-python
> Subject: [Tutor] need help with sending email
> 
> lo there all.
> 
> i am in a tight spot because i need to send an email that it 
> mime encoded plain-text ( not html or anything )
> no attachements, no images, just text from a string. like 
> message = 'some message' 
> all the tutorials i find out there, and the cookbook recipies 
> are for sending multipart messages, attachments, etc..
> this needs to be simple, but needs to be able to reach a 
> large variety of cell phone text message receivers. 
> 
> anyone know of a good tutorial or recipe out there ?
> 
> thanks,
> shawn
> 
>
This might help:

http://effbot.org/librarybook/smtplib.htm 

Also, the docs on smtplib:

http://docs.python.org/lib/module-smtplib.html

Mike
-------------- next part --------------
-------------

  NOTICE:  This e-mail transmission and any documents or files attached to
  it contain information for the sole use of the above-identified individual or entity.

  Its contents may be privileged, confidential, and exempt from disclosure under the law.
  Any dissemination, distribution, or copying of this communication is strictly prohibited.

  Please notify the sender immediately if you are not the intended recipient.

FGNS


More information about the Tutor mailing list