Hi. I'm using nginx+uwsgi to serve a django app. I'd like to configure it
to be able to send mail with django's send_mail() and send_mass_mail()
functions. I've played with the nginx configuration files using the
examples here
http://wiki.nginx.org/Configuration#Mail_examples
I have a very simple view that just does
from django.core.mail import send_mail
send_mail('Subject here', 'Here is the message.', '[email protected]',
['[email protected]'], fail_silently=False)
but with my email addresses in there of course. The view doesn't throw any
exceptions, but it also doesn't send the email (or do anything else for
that matter). Can someone help me with getting nginx to serve email for
django, or at least point me in the right direction? Thanks to all.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/yfrTK_xhMpUJ.
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.