Hi all
I am reading a message from a text file and shooting it out using the mail() function.
When the email arrives the text is unformated i.e. in one big paragraph. How do i get it to display with line breaks, paragraphs etc?
Thanks in advance...
Larry
Mail format question
Moderator: General Moderators
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
these header allow HTML e-mails
then just use <br> as you would in normal HTML
Code: Select all
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";