Primary links
Linefeed(\n) usage in email sending
admin — Tue, 10/10/2006 - 11:53pm
Solution to the most common error when sending plain text emails;
Does your email display the n instead of parsing it ?
This is the most common error when sending plain text emails.
For ex.
$name = "Ron";
$message = 'Name : ' . $name . 'nEndOfLine';
When $message is send via mail , you will get 'Name : RonnEndOfLine', instead of the expected
Name : Ron
EndOfLine
Solution : Instead of the SingleQuote('), use Double uotes(") to wrap the string.
User login
Follow Us
Who's online
There are currently 0 users and 1 guest online.
Who's new
- Nisha
- linnaeus
- Yameen
- TalleyReedy
- admin

