On Mon, 2007-04-30 at 18:02 +0000, dbee wrote:
> So basically I'm sending off an email like this ...
>
> send_mail(email_title, email_text,
new_data.get('email'),
> 'myaddress hotmail.com')
>
> It seems to think that the myaddress email is a list,
and it breaks it
> up and sends letter at a time.
>
> So that any reply is addressed to m myserver.com, y myserver.com,
> a myserver.com ... ( spelling out myaddress hotmail.com )
>
> I've tried ['myaddress hotmail.com']. No luck
though. I'm out of
> ideas. I've looked at the python docs and I can only
find a
> sendmail(), not a send_mail() .... :-(
That (lack of documentation in the Python docs) would be
because
send_mail is part of Django. Notice that you import it from
django.core.mail.
See htt
p://www.djangoproject.com/documentation/email/ .
The list of addressees should be a list, not a single
string. That's why
the parameter is called "recipient_list".
Regards,
Malcolm
--~--~---------~--~----~------------~-------~--~----~
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 htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|