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 <tevans...@googlemail.com> wrote: > On Tue, Nov 16, 2010 at 3:47 PM, diegue...@gmail.com > <diegue...@gmail.com> 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.', 'f...@example.com', > ['t...@example.com'], fail_silently=False) > > If you wish to change the 'f...@example.com', well, can you try > changing the 'f...@example.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-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@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.