Works like a charm!
The only issue is that when email submission is received, there are no line breaks between fields (one jumbled paragraph).
Early on in testing, received email showed each field entry on a seperate line. Not sure what I did to break it. How can I fix this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is code from a working form. I added extra line breaks and the email is changed accordingly. This also depends on how your email is setup (read as text or html, etc..).
Works like a charm!
The only issue is that when email submission is received, there are no line breaks between fields (one jumbled paragraph).
Early on in testing, received email showed each field entry on a seperate line. Not sure what I did to break it. How can I fix this?
Adding line breaks (e.g:
$message=
Name: ".$Name." \n)
seems to heve fixed it.
I tried the above in the process.php file and my emails are still not coming through with line breaks.
I changed this line: $message="Name: ".$Name."
to this: $message="Name: ".$Name."\n
It is not working.
What am I doing wrong?
This is code from a working form. I added extra line breaks and the email is changed accordingly. This also depends on how your email is setup (read as text or html, etc..).
$message="FirstName: ".$FirstName."\n\n\n
LastName: ".$LastName."
Email: ".$Email."
";
$message = stripslashes($message);
mail("