> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
>
On 13 апр, 18:44, Massimiliano della Rovere
<massimiliano.dellarov...@gmail.com> wrote:
> i think the python modules
> - smtplib
> - email
> will help. Have you already tried these ones?
>
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