0
votes

fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

fsockopen(): Failed to enable crypto

fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error)

- Above are the errors that show up whenever I try to send an email.

I am using XAMPP and codeigniter

I only have windows defender and SmadAv (included this because other say its because of their anti-virus that is why they cannot send the email)

I already enabled extension=php_openssl.dll in the C:\xampp\php\php.ini

Please Help

This is not a duplicate because the question you mentioned was solved by adjusting settings of AVAST. but as I mentioned I do not have avast - blur
even if you are not using avast but port 465 is blocked for sending an email - Deep 3015
Deep can smadav be responsible for blocking 465? - blur
check stackoverflow.com/q/32211301/3898339 for OpenSSL Error messages: - Deep 3015