Jump to content

mails going in spam??


salman_ahad@yahoo.com

Recommended Posts

 

Ok i got this from other site

 

the recipient’s spam filter checks if all headers exist in sender’s email and since you are using simple mail() function it will be almost with empty header so that means high risk of spam  to solve that problem you need to use some more complicated mailer class

and the best solution is to use gmail account as SMTP relay

 

How can I optimize my header more

Link to comment
Share on other sites

I've seen this problem too on my site. I noticed, when the FROM address is too long, name or address ( such as name00000000@mysite.com ) It'll go to spam, but if it short, it wouldn't.

 

As for headers, yours are 100% fine. There is no 'header'. Webhosts us a single SMTP server most of the time, and if that is blacklisted (another site on host sent spam) than yours is affected as well, possibly not being able to be whitelisted.

Link to comment
Share on other sites

 

Will making my emails as High priority avoid them from going in 'spam'

 

..
..
..
        $headers = "MIME-Version: 1.0\n" ; 
        $headers .= "Content-Type: text/html; charset=\"iso-8859-1\"\n"; 
        $headers .= "X-Priority: 1 (Higuest)\n"; 
        $headers .= "X-MSMail-Priority: High\n"; 
        $headers .= "Importance: High\n"; 

$status   = mail($to, $subject, $message,$headers); 

 

my emails are still going in spam, help me

 

Link to comment
Share on other sites

Spam can be caused from load of server settings, the server that sends the email might be on a national spam database and blocked......

 

if a dns record is incorrect it can be that aswell.

 

if sending a email via php and the dns record don't match the domain name also cause spam.

 

 

emample

 

www.me.com <<< main server with mail server integrated and dns set up correctly.

any word here@me.com <<< will work correctly.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.