My mistake, Shawn was right, almost in part, in this http://docs.djangoproject.com/en/dev/topics/email/#send-mail
i can call de method send_mail with a auth_user and auth_password for authentication with the smtp backend, but this doesn't have connection with get_connection method. -- Diego AndrĂ©s Sanabria IngenierĂa de Sistemas Universidad Distrital about:me http://www.google.com/profiles/diegueus9 cel 3015290609 On Tue, Nov 16, 2010 at 10:52, Tom Evans <[email protected]> wrote: > On Tue, Nov 16, 2010 at 3:47 PM, [email protected] > <[email protected]> wrote: > > I already read that part of doc, but i dont find the answer, should i > read > > the code? > > Yeah, don't bother, send them all from the same account, with > different from addresses in the message - no-one looks at the envelope > much.. > google and ther politics of spam looks for that ;) > > Quick example > > In two lines: > > from django.core.mail import send_mail > > send_mail('Subject here', 'Here is the message.', '[email protected]', > ['[email protected]'], fail_silently=False) > > If you wish to change the '[email protected]', well, can you try > changing the '[email protected]'? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<django-users%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

