On Wed, Apr 14, 2010 at 1:42 PM, Massimiliano della Rovere <massimiliano.dellarov...@gmail.com> wrote: > http://docs.python.org/library/smtplib.html > http://docs.python.org/library/email.html > > and probably something like (python 3 code): > # msg, sender and receiver are unicode objects! > import smtplib > from email.mime.text import MIMEText > > MIME = MIMEText(msg.encode(CODEC)) > MIME['From'] = sender.encode(CODEC) > MIME['To'] = receiver.encode(CODEC) > MIME.set_charset(CODEC) > > server = smtplib.SMTP(mail_server_ip) > #server.set_debuglevel(True) > server.sendmail(sender.encode(CODEC), receiver.encode(CODEC), > MIME.as_string()) > server.quit() > >
Where is the SPA bit then? To the OP: as far as I am aware, SPA is a proprietary MS protocol, which is not documented. I don't think you will find a non MS implementation of SPA. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.