Maybe you could test using one mail_option at a time, and see if it works with each one individually. If so, you should be able to figure out which one is tripping up the results.
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
yes, it's wierd. but if i does't us the template it's working fine.
i've use the older version on this formmail with this setting it work very well, after the host have upgrade the system(still php4) the form broke??
so i try the lates release but no luck.![]()
Maybe you could test using one mail_option at a time, and see if it works with each one individually. If so, you should be able to figure out which one is tripping up the results.
i've just put
<input type="hidden" name="mail_options" value="HTMLTemplate=tp.html"/>
this is the only option i put in still not working.
update issue:
i've got error now form system message:
"A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted."
seems like formmail.php didn't send the recipient address out.
i've try set target email to
$TARGET_EMAIL = array("^user@thai-rr\.com$");
or
$TARGET_EMAIL = array(EMAIL_NAME."@thai-rr\.com$");
both won't work
issue update:
now get backup first post when ever i put the tag
<input type="hidden"name="mail_options"value="HTMLTemplate=tp.html" />
error mail system as:
A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted.
------ This is a copy of your message, including all the headers. ------
Message-Id: <E1MqpEr-0007Wa-Lm@server.com>
From: myname@email.com
Date: Thu, 24 Sep 2009 21:24:05 +0700
with out the tag email get to me normally, with other tag such NoPlain,AlwaysList,TemplateMissing=,CharSet=windows-874 all working fine
As mentioned previously, you need to put a space between name and value pairs. Also, anytime you use an html template, you need to provide the TemplateMissing attribute, so try this:
Code:<input type="hidden" name="mail_options" value="HTMLTemplate=tp.html,TemplateMissing=N/A" />
thanks for your reply ginger23
with
<input type="hidden" name="mail_options" value="HTMLTemplate=tp.html,TemplateMissing=N/A" />
no mail response at all. no error.![]()
Maybe there's a problem with your html mail template, or a conflict with the character encoding. Other than that, I'm out of ideas.
finally you light me up Ginger. it's all about the template header.
for the old version simply have html header that is
if i remove those header line out the message came in normally.HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620" /> <title>Untitled Document</title> </head>
however the email message that arrive my mail box got duplicate sender, subject and the email content(not duplicate 2 email but 1 email got 2 same sender, 2 same subject as well as 2 template result). any idea to fix that
I don't know if this has anything to do with your particular problem, but you might try changing the following in formmail.php:
Change:
... to:Code:define("HEAD_CRLF","\r\n");
You can also try changing this:Code:define("HEAD_CRLF","\n");
... to this:Code:define("BODY_LF","\r\n");
Code:define("BODY_LF","\n");
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks