Hi, i'm using the php mail() function and I cant seem to get line breaks insde of the mails that are sent. here is the code i'm using:
$Message = 'Dear '.$Name.',\n\nWelcome to Clan Gm3K! Before you can login to the site, please activate your account by clicking the link below your details.\n\n----------------------------------------------------------Username: '.$Username.'\nPassword: '.$Password.'\n----------------------------------------------------------\n\nActivate Account:\n<a href='http://gm3k.mfhosting.com/register3.php?name='.$Username.'&pw='.md5($Password).''>http://gm3k.mfhosting.com/register3.php?name='.$Username.'&pw='.md5($Password).'</a>\n\n----------------------------------------------------------Clan Gm3K Management';
mail($Email, "Gm3K Account Validation", nl2br($Message), "From: Clan Gm3K<clangm3k@gmail.com>");
I dont know what i'm doing wrong. I've tried putting <br> but it dont work. When the mail comes i actually see "\n".
Thanks,
DeuCe 🆒