Home › Forums › Quform PHP › Fails on one host
- This topic has 1 reply, 2 voices, and was last updated 1 year, 7 months ago by Ally.
- AuthorPosts
- April 13, 2023 at 12:41 am #35380tomf2468aParticipant
Hello, Purchased QuForm PHP from Code Canyon to (hopefully) replace Coffee Cup Webform Builder. Coffee Cup has not been updated for PHP8 and does a hard fail with PHP8. QuForm works great on most of my client’s sites… except on client sites hosted on MediaTemple. Unfortunately, MediaTemple has not been helpful!
Mail-check.php says all is good, but no email is received (Yes, I checked spam folder).
I decided to switch to SMTP, MediaTemple “help docs” say to use “localhost”. Running smtp-check.php set to localhost and port 25 I get :
2023-04-12 23:27:31 Connection: opening to localhost:25, timeout=300, options=array()
2023-04-12 23:27:31 Connection: opened
2023-04-12 23:27:31 SERVER -> CLIENT: 220-p3plzcpnl493776.prod.phx3.secureserver.net ESMTP Exim 4.95 #2 Wed, 12 Apr 2023 16:27:31 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2023-04-12 23:27:31 CLIENT -> SERVER: EHLO http://www.ferguson-photo-design.com
2023-04-12 23:27:31 SERVER -> CLIENT: 250-p3plzcpnl493776.prod.phx3.secureserver.net Hello http://www.ferguson-photo-design.com [127.0.0.1]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPE_CONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
2023-04-12 23:27:31 CLIENT -> SERVER: STARTTLS
2023-04-12 23:27:31 SERVER -> CLIENT: 220 TLS go ahead
2023-04-12 23:27:31 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=
*.prod.phx3.secureserver.net' did not match expected CN=
localhost’ [/home/mnls41x2gfyq/public_html/quform/vendor/phpmailer/phpmailer/src/SMTP.php line 468]SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=
*.prod.phx3.secureserver.net' did not match expected CN=
localhost’2023-04-12 23:27:31 CLIENT -> SERVER: QUIT
2023-04-12 23:27:31
2023-04-12 23:27:31
2023-04-12 23:27:31 Connection: closed
SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=
*.prod.phx3.secureserver.net' did not match expected CN=
localhost’Fatal error: Uncaught PHPMailer\PHPMailer\Exception: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=
*.prod.phx3.secureserver.net' did not match expected CN=
localhost’ in /home/mnls41x2gfyq/public_html/quform/vendor/phpmailer/phpmailer/src/PHPMailer.php:2199
Stack trace:
#0 /home/mnls41x2gfyq/public_html/quform/vendor/phpmailer/phpmailer/src/PHPMailer.php(2019): PHPMailer\PHPMailer\PHPMailer->smtpConnect()
#1 /home/mnls41x2gfyq/public_html/quform/vendor/phpmailer/phpmailer/src/PHPMailer.php(1678): PHPMailer\PHPMailer\PHPMailer->smtpSend()
#2 /home/mnls41x2gfyq/public_html/quform/vendor/phpmailer/phpmailer/src/PHPMailer.php(1516): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/mnls41x2gfyq/public_html/quform/smtp-check.php(61): PHPMailer\PHPMailer\PHPMailer->send()
#4 {main}
thrown in /home/mnls41x2gfyq/public_html/quform/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 2199
I thought maybe I needed to replace localhost with `*.prod.phx3.secureserver.net’ but that also fails.
Any thoughts?
April 13, 2023 at 12:26 pm #35385AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.