简体   繁体   English

使用XAMPP和Codeigniter发送电子邮件

[英]Send email using XAMPP and codeigniter

fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed fsockopen():SSL操作失败,代码为1。OpenSSL错误消息:错误:14090086:SSL例程:ssl3_get_server_certificate:certificate验证失败

fsockopen(): Failed to enable crypto fsockopen():无法启用加密

fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) fsockopen():无法连接到ssl://smtp.gmail.com:465(未知错误)

- Above are the errors that show up whenever I try to send an email. -以上是我尝试发送电子邮件时出现的错误。

I am using XAMPP and codeigniter 我正在使用XAMPP和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) 我只有Windows Defender和SmadAv(之所以包括在内,是因为其他人说这是因为其具有防病毒功能,因此他们无法发送电子邮件)

I already enabled extension=php_openssl.dll in the C:\\xampp\\php\\php.ini 我已经在C:\\xampp\\php\\php.ini启用了extension=php_openssl.dll

Please Help 请帮忙

根据Deep 3015用户的说法,我应该使用cacert.pem进行工作,只需遵循此处的说明即可: https ://ourcodeworld.com/articles/read/196/xampp-wampp-php-ssl-certificate-error-unable-to-get -本地发行人证书

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM