fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:1420C0CF:SSL routines:ssl_write_internal:protocol is shutdown

Getting this error while trying to send email using codigniter email library using SMTP Protocol( smtp host: smtp.office365.com, sending mails through outlook email), using correct credentials as well

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum