简体   繁体   中英

Strange Email After Sending Contact Form

Every time someone fills out my contact form, it sends a strange email.

The email subject is "Undelivered Mail Returned to Sender"

The error of the email is here: https://hastebin.com/lihikuzubi.http

The PHP code that sends the email is found here: https://hastebin.com/ivibojisis.pl

Also, how do I make it so it opens a bootstrap modal when the email successfully sends.

This mail server mail-out.ovh.net is bouncing the email back because their script /localscripts/hosting-mailout/ovh-mailtrap.py has issues. I am not sure if that is your smtp server or not. But the problem is with the python script and the errors (2) that it is having.

UPDATED The mail server is running a script during the processing of the email that it receives. This python script is throwing an error which causes the mail server to bounce the email back to the sender. This is why you are getting the email back with this information. This question really has nothing to do with the PHP and sending the email since the email is sent and now the problem is with the mail server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM