email - Sent mail from php goes into spam folder -
this question has answer here:
i used tutorial sending mail :
http://www.velvetblues.com/web-development-blog/avoid-spam-filters-with-php-mail-emails/
my code looks :
$headers .= "reply-to: sender <sender@sender.com>\r\n"; $headers .= "return-path: sender <sender@sender.com>\r\n"; $headers .= "from: sender <senter@sender.com>\r\n"; $headers .= "organization: sender organization\r\n"; $headers .= "mime-version: 1.0\r\n"; $headers .= "content-type: text/plain; charset=iso-8859-1\r\n"; $headers .= "x-priority: 3\r\n"; $headers .= "x-mailer: php". phpversion() ."\r\n" mail("recipient@recipient.com", "message", "a simple message.", $headers);
i using localhost(mamp pro) sending mail.
but mail goes spam folder.how send mail goes inbox.please guys me out this,i spend lot of time on it.
which folder email goes depends on domain & ipaddress email coming , email service provider. if domain/ip trusted service provider not spammed. also, after setting few emails "not spam" domain, email service no longer spam emails
Comments
Post a Comment