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()


On Wed, Apr 14, 2010 at 11:26, Alex <akimov.a...@gmail.com> wrote:
> No.
> I've just googled a bit for SPA, SPA+python. But I did not find
> anything helpfull.
>
> 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?
>>
>> On Tue, Apr 13, 2010 at 14:58, Alex <akimov.a...@gmail.com> wrote:
>> > Hi.
>> > Can anybody suggest an idea how to deal with SMTP server with Secure
>> > Password Authentication in Django?
>>
>> > --
>> > 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 
>> > athttp://groups.google.com/group/django-users?hl=en.
>
> --
> 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.
>
>

-- 
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.

Reply via email to