Author |
Topic |
|
wrMiller
USA
4 Posts |
Posted - Jul 25 2008 : 17:06:42
|
Do you have an .asp script I can install in my cgi-bin for processing the forms generated by MailList King?
BillM |
|
xequte
7042 Posts |
Posted - Jul 26 2008 : 00:49:56
|
Hi Bill
We can supply you one of our ASP scripts. However you should note that it will need to be configured for sending from your mail server. For that reason it is best to ask your web host for a formmail script first.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|
wrMiller
USA
4 Posts |
Posted - Jul 26 2008 : 05:43:13
|
I am using aspFormMail (see http://www.sbwh.com/UsingForms.aspx ) and have it working to the point that I can send the input from my form to my group email (memories@vhhs-reunion.com) . I have to enter SUBSCRIBE as an exposed inpur variable (it does not appear in the Subject field of the email if I enter it as a hidden variable).
I also tried to define a custom variable (custom for aspFormMail) with name = "Full Name:" but it was not recognized by MailList King. The result of all this was that email created by my HTML form was sent to my Inbox for memories@vhhs-reunion.com, the SUBSCRIBE appeared in the Subject field and the other variables, such as "Full Name:" appeared in the body of the email. When I checked on "Check for New Mail" MailList King processed the email ... it added the email address to the List but did not recognize the "Full Name:" variable and thus did not add it to its database for the List.
The code for my form is:
<form action="aspFormMail.asp" method="post">
<input type="hidden" name="ToEmail" value="memories@vhhs-reunion.com"
<input type="hidden" name="RedirectURL" value="../gateway.shtm"> <input type="hidden" name="Env_Report" value="yes"> <input type="hidden" name="Print_Config" value="FromName"> <input type="hidden" name="Required" value="FromName,FromEmail"> <input type="hidden" name="Print_Blank" value="yes">
Name:<br> <input type="text" name="FromName" size="30"><br> Full Name:<br> <input type="text" name="Full Name:" size="30"><br>
Email:<br> <input type="text" name="FromEmail" size="30"><br> Subject:<br> <input type="text" name="EmailSubject" size="30"><br>
How did you hear about our site?<br> <input type="text" name="HeardFrom" size="30"><br>
Comments or Questions?<br> <textarea rows="4" name="comments" cols="29"></textarea>
<input type="submit" value="Submit Form">
</form>
I appreciate your assistance. Thank you.
BillM |
|
|
xequte
7042 Posts |
Posted - Jul 27 2008 : 02:50:51
|
Hi Bill
This is to be a web form submission message, not a "Subscribe" message so don't put Subscribe in the subject or it will confuse MailList King. Rather specify something generic such as "Web Form Submission"
Then in your form have a hidden field with the name "Action" and value "Subscribe"
I.e. so that it appears in the body as:
Action: Subscribe.
Then go into View > Options, Web Form and specify that your web form message has the subject "Web Form Submission"
Click the specify fields button and tell MLK what the content of your web form message is like (i.e. where to find the Email, Full Name and other fields).
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|
wrMiller
USA
4 Posts |
Posted - Jul 28 2008 : 15:21:48
|
Hi Nigel ... well, we are getting closer ...
I followed your advice and created the following HTML form:
<form action="aspFormMail.asp" method="post">
<input type="hidden" name="ToEmail" value="memories@vhhs-reunion.com"> <input type="hidden" name="EmailSubject" value="Web Form Submission"> <input type="hidden" name="Action" value="Subscribe"> <input type="hidden" name="RedirectURL" value="../Gateway.shtm"> <input type="hidden" name="Env_Report" value="no"> <input type="hidden" name="Print_Config" value="FromEmail"> <input type="hidden" name="Required" value="FromEmail"> <input type="hidden" name="Print_Blank" value="yes"> E-Mail:<br> <input type="text" name="FromEmail" size="30"><br> From Name:<br> <input type="text: name="FromName" size="30"><br>
<input type="submit" value="Submit Form">
</form>
I specified the following in MLK's Web Form Fields:
E-mail --> FromMail Full Name --> FromName
I entered the following into the form:
E-Mail: bill_miller@esri.com (the FromMail field) From Name: Bill Miller (the FromName field)
The result was an email that got sent to memories@vhhs-reunion.com, the subject was properly specified as Web Form Submission, and the body of the message contain "ACTION: Subscribe", "FromEmail: bill_miller@esri.com", (so far so good) and "FromName: " but without the value for FromName, which should have been "Bill Miller". As such, when I clicked on Check for New, the email address was added to my List, but the Full Name (FromName) was Not.
You help would be much appreciated. Thank you.
Bill Miller |
|
|
xequte
7042 Posts |
Posted - Jul 28 2008 : 15:36:48
|
Hi Bill
There appears to be a syntax error in your HTML:
From Name:<br> <input type="text: name="FromName" size="30">
Instead of: <input type="text" name="FromName" size="30">
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|
wrMiller
USA
4 Posts |
Posted - Jul 28 2008 : 15:54:16
|
Nigel ... That did it! Thanks so much for your quick reply ... great support! Bill
Bill Miller |
|
|
|
Topic |
|