Hi, I can't get cakephp3 to send emails. In cakephp2 I could do this no problem. I am using the latest WAMP, and cakephp3.3 on Windows 7. I tried to follow the directions but it looks like I am getting something basic wrong. Do I also need to configure Wamp as I checked the php.ini file but there is no smtp entry to change
I believe the error is a WAMP setup for smtp because the code for cakephp3 is correct after I checked this out.
error- stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error)
in php.ini
SMTP = smpt.gmail.com
smtp_port = 465
sendmail_path ="D:\wamp64\sendmail\sendmail.exe"
sendmail_from ="xxxxx@gmail.com"
I believe the error is a WAMP setup for smtp because the code for cakephp3 is correct after I checked this out.
error- stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error)
in php.ini
SMTP = smpt.gmail.com
smtp_port = 465
sendmail_path ="D:\wamp64\sendmail\sendmail.exe"
sendmail_from ="xxxxx@gmail.com"