I found the text below but it will not work on my php formmail script. // Send back to sender config $send_copy[0]="yes"; $send_copy_format[0]="vert_table"; $send_copy_fields[0]="Name,Email,Phone,Comments"; $send_copy_attachment_fields[0]=""; $copy_subject[0]="Contact"; "// this text gets put above the main auto-responder email // you can format this via html tags, since we are sending as vert_table above, which uses html $copy_intro[0]="<html><head>style-type></style></head><body>Thank you for contacting NEW SITE.<br>Your email (below) has been sent.<br><br>Someone will respond shortly.<br><br>If you require immediate assistance, please call xxx-PHONE-PHONE.<br><br>***************************************<br>This is an automated confirmation message.<br></body></html>"; " I used <html><head>style-type> tags to format it.but the error i get is Parse error: syntax error, unexpected T_STRING is this just not possible..? thanks for any suggestions
Hi, is this the exact line that raises the error? Because it looks quite alright, as far as PHP is concerned... The HTML looks a little strange though style-type></style> Code (markup): This doesn't work in HTML... just leave it out Well I assume the error is in another line, so please check error and script
I checked the error and played around with taking certain html out. the style tags were right <style-type="text/css">, so that is not the problem. I took it out and still got the same error. I like having the style in there for some links and text. how about 2 images and <a href>'s in the response. if it is truly OK to use html in an autoresponse from a formmail script, then all should work within the tags. right now, it only works wih text