Tuesday, July 19, 2016

Re: Email List


> Would then the suggested route be to export my email list via an admin action and use this list via Sendmail?
>

You can do this via a custom management command.

https://docs.djangoproject.com/en/1.9/howto/custom-management-commands/

If you do go this route, though, I would suggest looking at a batch processor such as Celery to handle sending the messages for you. You'll have much better control over tracking what messages have been successfully sent and the ability to cancel an ongoing job much more easily in the event issues arise.

If you feel the need to host the service yourself, might I also suggest looking at something like Mailman to handle your mailing list needs. It's written in Python and has all of the features you would need for making list management, many of which would be difficult or lengthy to write in yourself.

https://www.gnu.org/software/mailman/

Getting your message out to your uses can be quite strenuous, as SMTP servers can be very picky , as well as user inboxes, even for experienced admins.

Otherwise, if you can offload the sending off messages to a 3rd party provider that is dedicated to mailing list-like services, I'd suggest using them than trying to roll one yourself. Any decent service should be able to send on behalf of another domain and should already be setup to try and avoid bounce backs, black lists, and spam boxes. You can uses your Django site to collect user information and manage membership, and just fed the third party service with your messages.

-James

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciXOcD7_HGmK4jwekJpVCoD0P%2Bi6Zmw89zq3txwE-a9uiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment