SCook Posted January 26, 2011 Share Posted January 26, 2011 Hi everyone, I am having some odd issues with sending php generated emails. Essentially, what I'd like to know is how can I ensure they go into the inbox, and not get shunted to the junk mail folder. I assume this is s formatting issue, and it only happens sometimes. I am creating html emails. I have included my headers below: $headers = "From: <Real Money Help>\r\n"; $headers .= 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; Any help would be appreciated. Thanks. Link to comment https://forums.phpfreaks.com/topic/225727-php-email-formatting/ Share on other sites More sharing options...
Roman Fedorov Posted January 26, 2011 Share Posted January 26, 2011 The email can be classified as junk for a lot of reasons, starting with mail server being in the black list and finishing by the configuration of particular client anti-spam program.. For sure there are things you can do to decrease the probability of going your letters to spam, but you can never totally avoid it.. You should search some articles on this argument. I am not very informed in this argument, but as basic things i would advise to: - using a mail server, and not php mail() function - send emails in text mode and not html - avoid to sent attachments Link to comment https://forums.phpfreaks.com/topic/225727-php-email-formatting/#findComment-1165437 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.