Hi, everyone:Could someone please give some suggestions about how to set up email sending settings on production.I know on local, you can do either:python -m smtpd -n -c DebuggingServer localhost:1025EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost'EMAIL_PORT = 1025and then email will be printed on the terminalorEMAIL_USE_TLS = TrueEMAIL_HOST = 'smtp.gmail.com'EMAIL_PORT = 587EMAIL_HOST_USER = 'm...@gmail.com'EMAIL_HOST_PASSWORD = 'pw'but I dont want to use gmail account to send emails on production.Therefore, could someone please help?Thanks very muchBest regards--
⚡ Chen Xu ⚡
I don't understand the question. You use the settings of whatever your mail server is. If you don't use gmail, presumably you have a different mail server, so use that.
--
DR.
-- 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/-/v3lYi8DTwnIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 comments:
Post a Comment