Having Issues with Office 365

Created on 6 July 2023, 12 months ago

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.

πŸ’¬ Support request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ryanfc78

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024