- Issue created by @therobyouknow
- 🇬🇧United Kingdom therobyouknow
my setup:
Drupal 10.0.9
php 8.1.18
Database Version 10.6.12-MariaDB-0ubuntu0.22.04.1in settings.php added:
$config['smtp.settings']['smtp_server'] = 'smtp.gmail.com'; $config['smtp.settings']['smtp_port'] = '587'; $config['smtp.settings']['smtp_protocol'] = 'tls'; $config['smtp.settings']['smtp_username'] = '<my-email-address-here>@gmail.org'; $config['smtp.settings']['smtp_password'] = '<Google App Password here>'; $config['smtp.settings']['smtp_from'] = $config['smtp.settings']['smtp_username']; $config['smtp.settings']['smtp_fromname'] = '<my-email-address-here>@gmail.org';
The above approach as worked for Zoho mail, with Zoho app password.
- 🇬🇧United Kingdom therobyouknow
answer: yes.
I had an error in my settings:
$config['smtp.settings']['smtp_fromname'] = '@gmail.org';
i.e. gmail.org - incorrect
should be:
$config['smtp.settings']['smtp_fromname'] = '@gmail.com';
gmail.com
closing issue.
- Status changed to Closed: works as designed
over 1 year ago 11:42pm 8 May 2023