johnsmith153 Posted March 16, 2009 Share Posted March 16, 2009 I looked for a forum more suitable - but there isn't. Anyway PHP programming requires knowledge of email headers to send using mail() - so this should be ok. My question is really about connecting to SMTP directly (with PHP) and sending emails. I must get the headers correct so that when I send bulk emails I give myself the best chance of them not getting caught as spam. What is the perfect email header? i.e Return-Path, Mime type etc. And which of these go after the SMTP command "MAIL" and which go after "DATA" ? Quote Link to comment https://forums.phpfreaks.com/topic/149728-perfect-email-headers/ Share on other sites More sharing options...
Daniel0 Posted March 17, 2009 Share Posted March 17, 2009 You may want to take a look at RFC 2821 which specifies how the SMTP protocol works. Quote Link to comment https://forums.phpfreaks.com/topic/149728-perfect-email-headers/#findComment-786538 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.