-3

I dont see why my php headers is being detected as spam please can someone see if anything wrong $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

  $headers .= "Reply-To: Polar White Kit <info@teethwhiteningsuperstore.com>\r\n"; 
   $headers .= "Return-Path: Polar White Kit <iinfo@teethwhiteningsuperstore.com>\r\n"; 
   $headers .= "From: Polar White Kit <info@teethwhiteningsuperstore.com>\r\n"; 
   $headers .= "Organization:  Polar White Kit\r\n"; 
c-sharp-and-swiftui-devni
  • 3,743
  • 4
  • 39
  • 100

1 Answers1

0

Spam detection is all done by whichever client and server receives the email. It goes through a big set of rules to give the email a spam rating. If the rating goes above a certain level, it's marked as spam.

Some of those rules include the content of the email itself - the words, images, etc. Other rules look at where the email was sent from - SPF records, domain reputation, IP address, etc.

This is a huge topic, much more than I can answer here. Check out:

Dan Blows
  • 20,846
  • 10
  • 65
  • 96