- Issue created by @ryanfc78
When I try and use this module with Mail System and PHP Mailer and Office 365 I get the following error.
The configuration options have been saved.
2023-07-06 20:58:45 Connection: opening to ssl://smtp.office365.com:587, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => 1, 'verify_peer_name' => 1, 'allow_self_signed' => 0, ),)
2023-07-06 20:58:57 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.office365.com:587 (Connection refused) [/public_html/sites/all/libraries/phpmailer/class.smtp.php line 298]
2023-07-06 20:58:57 SMTP ERROR: Failed to connect to server: Connection refused (111)
Has anyone been able to make this module work with Office 365 and OAuth? I have also tried the SMTP module but no luck getting that to work either. Can't seem to get it to authenticate with Office 365.
Active
3.0
Code