hey guys,
I have a basic register/activate page that I am making, basically you register on a html form, an email is sent to the user with an activation link.
I have it working just fine, when i register my yahoo email address or any other address except for aol addresses, i think aol is blocking it as spam because of bad headers or something?
my code is:
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: my site";
mail($email, "Account Activation", "There would be a link below: \n [url]http://www.mysite.com/activate.php?email=[/url]$email&conf=$conf \n Thanks, mysite.com", $headers);
I have tried searching, although I found alot on the mail() i could not find out anything that helped, I also did not catch anything useful in the manual. So if anyone could kindly point me in the right direction it would be very much appreciated.
Oh, and also, the "\n" do not seem to work, the email comes to me in plain text format all on one line, is the html header set incorrectly?
Thanks guys,
gp