Take the 2-minute tour ×  I am creating a small company, and
would like to send out emails to my clients once they have
signed up for my service to activate their accounts. I am
currently using PHP's mail() function, however I am worried that
my emails are being filtered out by spam filters. Is there a
better way to go about this?  $email = 'XZY Client Email address
@ somedomain.com';  $emailSubject = "Welcome to XYZ Service!";
$to = $email; $subject .= "".$emailSubject.""; $headers .=
"From: no-reply@XYZService.com\r\n" .  "X-Mailer: php"; $message
= "<html><body>"; $message .= "Welcome to XYZ Service! \n
Activate your account by clicking the following link: link...";
Is there a way to authenticate these emails so that my clients
know that they are from my actual service? Thank you in advance!
share|improve this question There are lots of reasons messages
get caught as spam. HTML-only instead of multipart/mime
including both plain & html is one of them. A no-reply from
header is another. Some filters are