My assumption is that an email sent from a form should result in an email that contains the same format as the original message as it was entered into the form. But the email is not at all the same as what is entered into the form originally.
Here is my mail code:
$headers = "From: $From\r\n";
$headers .= "Reply-To: $From\r\n";
mail("$addresses","$Subject","$Body","$headers");
The $Body variable is a direct catch from the form.
Shouldn't the original message end up as an email that looks exactly like the original message? Or do I need to add more to my code? Do I need to loop through the message rewriting the newlines and returns?
In anycase here is what the message looks like without me modifying the above code: (Note I replaced the /r and /n with tags to make them visible)
Discount Christian Software News 11/1/03 <http://www.DiscountChristian.com> 1-888-967-3763 {RETURN} {NEWLINE}</li> {RETURN} {NEWLINE}iLumina Gold - Live the Bible! {RETURN} {NEWLINE} {RETURN} {NEWLINE}Discount Christian Software News: {RETURN} {NEWLINE} {RETURN} {NEWLINE}in this issue: {RETURN} {NEWLINE}1. iLumina Gold {RETURN} {NEWLINE}2. Bible Explorer up to 70% off
Thanks,
Jeff