I am using mail_options, an autoresponder and the good_template feature in one form, all with html templates. The form successfully inserts a custom email subject in both internal email and autoresponder following the instructions for each as follows:
<input type="hidden" name="mail_options" value="HTMLTemplate=internalconf.html,TemplateMissing=" />
<input type="hidden" name="subject" value="Subject Appears Properly This Way" />
<input type="hidden" name="autorespond" value="HTMLTemplate=customerconf.html,
Subject=Subject Also Appears Properly This Way,TemplateMissing=" />
When I try to insert a subject for each, with the purpose of adding a literal string followed by the input to a field, using the "derive_fields" method as described in the following posts I get only blank subject lines or no email sent at all.
http://www.tectite.com/vbforums/showthread.php?t=470
http://www.tectite.com/vbforums/showthread.php?t=1524
This is my code for the internal email which is producing a blank subject line:
<input type="hidden" name="mail_options" value="HTMLTemplate=internalconf.html,TemplateMissing=" />
<input type="hidden" name="subject" value="" />
<input type="hidden" name="derive_fields"
value="subject=%'Literal String Here'% +field_name" />
It's not clear in the how-to guide for deriving fields whether the second input above is necessary or not. I have tried without it and with no value and null value and nothing works.
This is my code for the autoresponder email which does not even send an autoresponse:
<input type="hidden" name="derive_fields"
value="autorespond=%'HTMLTemplate=customerconf'%.
%2E%.%'html'%.%2C%.
%'Subject=Form Submission Confirmation'%+field_name.%2C%.
%'TemplateMissing='%" />
Can anyone out there please help me figure this out?
Bookmarks