Replies: 0
I have been using WP Mail Smtp for a number of months. I notice that every once in a while when I log in I see that a message has failed to send from one of my forms.
I am currently using email from privateemail and it is configured correctly. It works MOST of the time. The trouble is, I have no idea what it doesn’t work on random occasions.
I went to one form, entered stuff and hit send.. it worked. The form reported that the email was sent and i received it.
Right after that, I went to second form, entered stuff and hit send. Form said email sent, but the error popped up and the mail never showed up. Just looking for a clue here. I will eventually need to have reliable contact form… so trying to figure this out now before it becomes an issue.
Below is the error log from the last instance.
Versions:
WordPress: 5.7.1
WordPress MS: No
PHP: 7.4.15
WP Mail SMTP: 2.7.0
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: mail.privateemail.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.1.0g 2 Nov 2017
Debug:
Mailer: Other SMTP
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
SMTP Debug:
2021-04-15 18:31:10 Connection: opening to mail.privateemail.com:587, timeout=300, options=array()
2021-04-15 18:31:10 Connection: opened
2021-04-15 18:31:13 SERVER -> CLIENT:
2021-04-15 18:31:13 Connection: closing due to error
2021-04-15 18:31:13 Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting