Emailed forms results are one long string - how to format?
Blelisa
11:59 am on Apr 23, 2004 (gmt 0)
Hi, I have a couple of forms for my site that email the information visitors enter. When I get the email if is a long string of the information, that I then have to transpose in a readable form before I pass it to the sales department. Is there any way to change the format of the email to be more reader friendly? Thanks
andmunn
12:43 pm on Apr 23, 2004 (gmt 0)
You have to use a script like FormMail, which "sorts" that information by fields in your email.
However, you should try using a "Secure script", something like NMS-formail. Just do a search in google.
Let me know if this helps, I would post URLS, but then they would toss me from the boards!
Cheers, Andrew.
bgrobe
12:05 am on Apr 25, 2004 (gmt 0)
What cgi are you using? PHP, ASP, Java, etc...
bgrobe
4:40 pm on May 28, 2004 (gmt 0)
If you are using PHP, put the data from your $_POST/$_GET variables into outher variables with formatting, like this: $to = "sales@mycompany.com"; $temp = $_POST['cust_ln']; $from = "From: $temp"; $temp = $_POST['cust_fn']; $from .= ",$temp"; etc... That should work...