$str = "Hello Jagdish \n\n";
$str .= "this is nice evening \n\n";
$str = stripcslashes($str);
mail($to, $subject, $message);
when checking this email in the outlook no “\n\n” is coming in that
what is the reason ?
how to get those in the email ?
Outlook re-formats plain-text e-mails as it sees fit. This can be turned off in the options, but if you are sending stuff to your customers in plain-text, there is nothing that can be done about this.
The theory is that it is trying to detect a fixed-width column, and remove the fixed-width so the e-mail is more readable. In my experience, this simply produces annoyance, as you are experiencing.
If you were to send an HTML version of your e-mail, it would be used and formatted correctly. (Note that you should always send a plain-text version in addition to the HTML version, for clients that can’t use the HTML version. Outlook uses the HTML version by default, if it exists.)