Send email using XAMPP and codeigniter

2019-08-21 02:54发布

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

1条回答
该账号已被封号
2楼-- · 2019-08-21 03:44

According to user Deep 3015 I should use cacert.pem which worked simply follow the instructions here: https://ourcodeworld.com/articles/read/196/xampp-wampp-php-ssl-certificate-error-unable-to-get-local-issuer-certificate

查看更多
登录 后发表回答