Abdel5
Abdel5

Reputation: 1120

Osticket and Office365 - SMTP authentication failure

I am trying to configure OsTicket with Office365.

IMAP is working correctly but I have problem with configuration of SMTP.

My configuration and error is as follows: Configuration

I have tried also another configuration suggested on OsTicket forum but it did not work either: Configuration and error 2

I have looked threw OsTicket forum but did not find any reliable solution.

Upvotes: 1

Views: 3306

Answers (1)

Abdel5
Abdel5

Reputation: 1120

I have patched osTicket's mail class at /include/pear/Net/SMTP.php changing the line:

$this->_socket_options =$socket_options;

to

$this->_socket_options = array('ssl' => array('verify_peer_name' => false));

Upvotes: 2

Related Questions