Should I be sending emails better?
Posted: Fri Jun 15, 2007 2:22 pm
The following is how I send my emails:
However, people aren't always getting their emails. Sometimes they're filed as junk, sometimes they just don't send. Now I have a crappy shared server, I know that. But my PHPBB forum doesn't seem to have a problem sending mail out, though I do remember one user on the IPB forum did have trouble.
Am I doing anything wrong? Also, I want to add HTML in later on... will that get my emails filed as spam or just not sent, too?
Code: Select all
$subject = "Subject";
$message = "What I tell them and stuff.";
$message = wordwrap($message, 90); // just to be neat, of course.
$from = "noreply@burnttoastonline.com";
$headers = "From: $from";
mail($email,$subject,$message,$headers);Am I doing anything wrong? Also, I want to add HTML in later on... will that get my emails filed as spam or just not sent, too?