Hi there, I wanna send an email with the mail function.
My problem is that when the message is received, I do not get any breaks. I used several methods for getting a break as you can see just below:
$message = "Hello " . $user->name\r\n";
$message .= "Welcome at my site.\n";
$message .= "Here is your account info\n";
$message .= "username: ".$user->username. "\n";
$message .= "password: ".$user->password. "\n\n";
$message .= "Thank you, bye, blablabla... \x0d\x0a";
$message .= "http://www.mysite.com\r\n";
But the message always looks like this when I receive it:
Hello Nobru Welcome at my site.Here is your account info username:nobru password:....
Strange, huhhh?