我的.env文件中有此配置
MAIL_MAILER=smtp
MAIL_HOST=mail.domain.com
MAIL_PORT=465
MAIL_USERNAME=xxxx@domain.com
MAIL_PASSWORD=xxxxxx
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=xxxx@domain.com
MAIL_FROM_NAME="${APP_NAME}"
当我向本地主机发送电子邮件时,但是在我的域中发送该邮件时,会出现
Connection could not be established with host mail.domain.com :stream_socket_client():
Peer certificate CN=`*.prod.ams3.secureserver.net' did not match expected CN=`mail.domain.com'
是否应该进行其他配置?还是ssl问题?