Yeah. Makes good sense. I guess that Postfix is one of the more popular options. Is there any reason why I should NOT use postfix.
On Monday, November 12, 2012 1:47:03 PM UTC-5, Nikolas Stevenson-Molnar wrote: > > The nginx configuration examples you link to are all POP3 or IMAP. > Sending mail is SMTP. But even then, you need an SMTP server to proxy *to*. > In these examples, nginx is simply acting as a proxy, not as an actual mail > server. I would recommend using a bona fide SMTP server. Or use one already > available to you from your mail provider (e.g., if you use GMail, you can > configure Django to use GMail's mail servers to send email). > > _Nik > > On 11/12/2012 10:22 AM, Chris Pagnutti wrote: > > 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.', 'fr...@example.com > <javascript:>', > ['t...@example.com <javascript:>'], 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 django...@googlegroups.com<javascript:> > . > To unsubscribe from this group, send email to > django-users...@googlegroups.com <javascript:>. > 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 view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/N3CVAVAyHcwJ. 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.