Monday, May 24, 2021

Re: Best way to deal with members registration in Django apps

using Sendmail code that we added in our Django project
You really added sendmail code to your Django project? Or did you configure your Django project to use sendmail?

There is no single answer to what you are asking. What I do, and I also propose to people to do, is:

  • Use a small forward-only local name server, namely the DragonFly Mail Agent or dma.
  • Use an external service like Runbox or mailbox.org as a mail server. I think that paid Google mail accounts will also work.

As for regularly emailing members, again I'd use an external service such as mailchimp, but I have no experience integrating such a service with a Django app.

Antonis Christofides  +30-6979924665 (mobile)

On 25/05/2021 08.02, Ram wrote:
Hi,

We have members registration module where members will enter email ID as a login name. Upon submitting the Sign Up form, we generate an email to the given email address using Sendmail code that we added in our Django project. 

So far we used a personal gmail account as an admin email account to generate and send emails to registered members ( as shown below)

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'  # added by me
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'xxadmin@gmail.com'
EMAIL_HOST_PASSWORD = '122hhhlll'
EMAIL_USE_TLS = True

but we need to move on to next step on our development and production servers to have a real time admin email to handle member registrations and further communication with members, like sending newsletters and some important security notifications.

Could you please suggest what you been using with zero issues in your Django application?

Best regards,
~Ram


--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BOi5F0C17vnf4vEvZgMYha0b2XB49iZpJ4UzqKb56-Tmar-cQ%40mail.gmail.com.

No comments:

Post a Comment