Re: send_mail reply to (how to?)
On Sun, 13 Jan 2013 12:23:15 -0800 (PST), Bobby Roberts
<tchendrix@gmail.com> declaimed the following in
gmane.comp.python.django.user:
>
> send_mail() got an unexpected keyword argument 'headers'
>
>
>
> What am i doing wrong here?
Just what it says -- trying to pass a keyword argument that
send_mail() does not expect.
https://docs.djangoproject.com/en/dev/topics/email/?from=olddocs
If you need to create added headers, you need to create instances of
EmailMessage, and then use its .send() method (or go directly to the
email backend).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home