Unable to send email from D8.3.7 on production site.
SMTP Version: 8.x-1.0-beta3
I have recently upgraded SMTP module and was able to send email from my demo server.
Before SMTP module update I was able to send email from the production site.
Please refer attached screenshot.

CommentFileSizeAuthor
cannot-edit-port.png76.47 KBsarikak
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sarikak created an issue. See original summary.

sarikak’s picture

Priority: Normal » Critical
Issue summary: View changes
sarikak’s picture

Finally, I have solved this issue.
Before the only language of the site was English and everything worked very well.
I'm using Drupal 8.3.7, and have the 8.x-1.0-beta2 version of the SMTP module.
After switching to multi-language, mailing does not work with the English language, and not for other languages. On the configuration page I have this message:

Disabled fields are overridden in site-specific configuration file.

Unable to send email. Contact the site administrator if the problem persists.

Solution:

The actual reason for this error is the newly implemented multilanguage feature.

I have applied the patch from the issue
Also first configure the smtp settings for the non default language.

hiramanpatil’s picture

Hi,

I am facing the issue with latest release of SMTP and Drupal core. And I'm not using multi-language but still getting error - SMTP Error: Could not connect to SMTP host.

Please review my issue - https://www.drupal.org/node/2920413

Thanks

dww’s picture

Status: Active » Closed (duplicate)
Parent issue: » #2865696: Wrong schema for smtp settings
vinodhinisureshbabu’s picture

I got this same error on 8.7.1 and smtp 8.x-1.0-beta4 version.

I followed the provided gmail account settings update in the below link. hope it helps someone.

https://stevepolito.design/blog/drupal-configure-smtp-module-work-gmail-...