Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTP not working #984

Open
SKJoy opened this issue Mar 13, 2024 · 1 comment
Open

SMTP not working #984

SKJoy opened this issue Mar 13, 2024 · 1 comment
Assignees

Comments

@SKJoy
Copy link

SKJoy commented Mar 13, 2024

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 = ["admin_1@domain.com", "admin_2@domain.com"]

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
Copy link
Author

SKJoy commented Mar 13, 2024

The SMTP configuration seemed to work after a server REBOOT! Is there a simpler way to reflect the configuration without a server reboot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants