right, thanks, Mike. i can send an email fine. Some of the providers we are trying to reach will reject anything that is not content type: text-plain
thats what i need to know how to add. thanks again shawn On 1/5/07, Mike Hansen <[EMAIL PROTECTED]> wrote:
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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 ------------- 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 _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor