I've been searching and trying to figure this out, but I haven't quite
found the source that makes it snap in my mind.

I'd like to be able to send an email or emails out from my site
through the admin.  I have the email settings added to settings.py,
but not sure where to go next.

I've read the documentation about sending email on the django site:
http://docs.djangoproject.com/en/1.0/topics/email/

The "Quick" example that allows you to send email in 2 lines doesn't
make sense to me:
"from django.core.mail import send_mail

send_mail('Subject here', 'Here is the message.', 'f...@example.com',
    ['t...@example.com'], fail_silently=False)"


Where is that code supposed to live?  How do you actually send it?
I've seen a few things that imply you did it from the Python API?

Can someone point me in the right direction on how to make this happen
through the admin?  Do I need to make a model for it?  What triggers
the actual send then?

Thanks for any help!
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to