简体   繁体   中英

Why is email not being received if it appears to be successfully sent?

I cant understand why I'm not receiving email from this function ... as you can see the smtp transcript is successful

I switched to using 10minutemail.com to receive email to make sure it wasnt being blocked by a blacklist or something.

I also have been successful in sending plain text using a script in the same directory to the same recipient and from the same sender and it worked fine.

You really need access to the mail server logs to be able to diagnose this.

Possible root causes include greylisting (the remote host reported a transient error, but will accept the message if you try again after a reasonable amount of waiting), local misconfiguration or network error, remote misconfiguration or network error, and of course, there are still spam filters which will silently delete a blocked message.

OK I figured it out. You have to attach HTML only, otherwise, it will try to render the plain text and not show the html.

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