mediacms icon indicating copy to clipboard operation
mediacms copied to clipboard

SMTP not working

Open SKJoy opened this issue 11 months ago • 1 comments

Describe the issue SMTP settings been set as per instruction but contact form notification is not being sent to admin emails.

To Reproduce Steps to reproduce the issue:

  1. Set SMTP settings in settings.py (as well in local_settings.py)
  2. Restart MediCMS server
  3. Go to MediaCMS Contact form and submit a message
  4. Notification never received to the admin emails

Expected behavior Contact form message notification should arrive at admin emails.

Environment (please complete the following information):

  • OS: Ubuntu Linux
  • Installation method: Single server install

Additional context

SMTP settings

EMAIL_HOST = "mail.smtp_server.com" EMAIL_HOST_USER = "mediacms.test@smtp_server.com" EMAIL_HOST_PASSWORD = "CORRECT_PASSWORD" EMAIL_PORT = 587 EMAIL_USE_TLS = True DEFAULT_FROM_EMAIL = "mediacms.test@smtp_server.com" SERVER_EMAIL = DEFAULT_FROM_EMAIL ADMIN_EMAIL_LIST = ["[email protected]", "[email protected]"]

Test information

  • SMTP settings were tested with WebMail & Mail clients and been found 100% working.
  • Tested with manage.py SHELL and the test succeeded, we received test emails

SKJoy avatar Mar 13 '24 19:03 SKJoy