Error When Sending Mail from Site (phpMailer)
When sending an email through PHP's mail() function, it sends successfully, but it comes up in Gmail as being "via ecbiz###.inmotionhosting.com". I attempted to follow the instructions on using phpMailer to have SMTP-authenticated mail (to hopefully prevent this), but it will not connect to the SMTP server.
When sending email via the sample script (as well as the script included with the GitHub version of phpMailer 5.2.14, with my information inserted) I receive the following error, although I have verified that the information I've entered appears to be correct:
Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure in /home/f****5/public_html/[domain].com/vendor/phpmailer/class.smtp.php on line 344
Message could not be sent.
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
When sending email via the sample script (as well as the script included with the GitHub version of phpMailer 5.2.14, with my information inserted) I receive the following error, although I have verified that the information I've entered appears to be correct:
Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure in /home/f****5/public_html/[domain].com/vendor/phpmailer/class.smtp.php on line 344
Message could not be sent.
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting