|
|
IMAIL® LIST HOMEPAGE CODE
|
| HTML Code to Create IMail® List Forms |
| Use this HTML code to add an IMail® List Homepage to your web site. To see how the code displays, click here. To see a demonstration of the code live on the Web, click here. |
| Instructions |
| Copy/paste the code for the form you want to use onto your web page. Be sure to change the code in blue italic to the correct information for your list (see examples below) before you save/upload your web page. If you are using a page-building program such as GoLive® or FrontPage®, you must first switch to Source or HTML view, then paste the code onto the page. When using FrontPage®, be careful not to accidentally add extraneous code to the form(s) when switching to Preview mode. FrontPage® often does this automatically. If this happens, you will need to remove the code FrontPage® added before saving/uploading or the form(s) will not work. |
| Upload the form's custom SuccessPage and/or ErrorPage, if used, to your account's free web space using FTP. FTP instructions, including download links for several FTP programs, can be found at http://webhelps.com/ftp-instructions.shtml. Hidden form fields for both custom pages are included in all the forms below. If you do not want to use custom success/error pages, simply remove the applicable field(s) from the form, and default success/error page(s) will display. |
| Examples |
- SuccessPage
Page on your site you want people to go to after hitting the [Submit] button, such as SubscriptionThanks.html
- ErrorPage
Page on your site you want people to go to if they did not enter a required field, or did not enter a correctly formatted email address, such as SubscriptionError.html. [See Optional Error Page Code below]
- ListDomain
The domain your list uses, such as webhelps.com, list.yourdomain.com, yourdomain.net
- ListName
The name of your list, such as CandyRecipes, ClientNewsletter
- AccountName
The name of your WebHelps account (a/k/a WebHelps UserName)
- ListPassword
Your list's password, if applicable, such as WeR4chocolate, PeanutClusters4U (case-sensitive) |
| Make changes to the following code at your own risk. If you make any changes to a form's code, we do not guarantee the form will work. Should you need us to troubleshoot a non-working form to which you have made code changes, you will be charged a service fee. |
| List Homepage |
<table border="0" cellpadding="3" cellspacing="4" width="100%">
<tr>
<td bgcolor="#0aa0b6" colspan="2" style="font-family:verdana;font-size:10pt;font-weight:bold;color:white">My Discussion List Homepage</td>
</tr>
<tr> <td valign=top align="center" colspan="2" style="font-family:verdana;font-size:10pt;font-weight:bold">Replace this text with a description of your list and what you want subscribers to know about it. Subscribe today!</td>
</tr>
<tr>
<td bgColor=#0aa0b6 width="50%" nowrap style="font-family:verdana;font-size:10pt;font-weight:bold;color:white">Subscribe to the List:</td>
<td bgColor=#0aa0b6 width="50%" nowrap style="font-family:verdana;font-size:10pt;font-weight:bold;color:white">Unsubscribe from the List:</td>
</tr>
<tr>
<td valign="top" align="left" width="50%" style="font-family:verdana;font-size:10pt">
<form method="post" action="https://mailpost.webhelps.com/mailpost.exe/IMailSubscribe.txt" name=IMailSubscribe>
<input type="hidden" name="success" value="..\..\hosting\localuser\AccountName\SuccessPage">
<input type="hidden" name="*on-error*" value="..\..\hosting\localuser\AccountName\ErrorPage">
<input type="hidden" value="ListDomain" name="ListDomain">
<input type="hidden" value="ListName" name="ListName">
Email Address:<br>
<input type=text name=required-Email.email><BR>First and Last Name:<br>
<input type=text name=required-Name><BR><input type=submit value='Submit'></form>
OR<br><br>
Send an email<br>
<b>To:</b> <i>imail@ListDomain</i><br>
<b>From:</b> <i>your subscription address</i><br>
<b>Subject:</b> <i>subscribe</i><br>
<b>Message:</b> <i>subscribe ListName firstname lastname</i></td>
<td valign="top" align="left" width="50%" style="font-family:verdana;font-size:10pt">
<form method="post" action="https://mailpost.webhelps.com/mailpost.exe/IMailUnsubscribe.txt" name=IMailUnsubscribe>
<input type="hidden" name="success" value="..\..\hosting\localuser\AccountName\SuccessPage">
<input type="hidden" name="*on-error*" value="..\..\hosting\localuser\AccountName\ErrorPage">
<input type="hidden" value="ListDomain" name="ListDomain">
<input type="hidden" value="ListName" name="ListName">
Email Address:<BR>
<input type=text name=required-Email.email><BR>
<input type=submit value='Submit'></form>
OR<br><br>
Send an email<br>
<b>To:</b> <i>imail@ListDomain</i><br>
<b>From:</b> <i>your subscription address</i><br>
<b>Subject:</b> <i>unsubscribe</i><br>
<b>Message:</b> <i>unsubscribe ListName</i></td>
</tr>
<tr> <td style="font-family:verdana;font-size:8pt">[Note: You must enter something for <i>firstname</i> and <i>lastname</i>, or your subscribe request will be rejected. If you wish to remain anonymous, enter "anonymous" for firstname and "user" for lastname]</td>
<td></td>
</tr>
<tr>
<td bgColor=#0aa0b6 width="50%" nowrap style="font-family:verdana;font-size:10pt;font-weight:bold;color:white">Subscribe to Digest:</td>
<td bgColor=#0aa0b6 width="50%" nowrap style="font-family:verdana;font-size:10pt;font-weight:bold;color:white">Unsubscribe from Digest:</td>
</tr>
<tr>
<td colspan="2" style="font-family:verdana;font-size:10pt">Digest gives you the option of periodically receiving a digest (single email containing all messages for each scheduled digest), rather than receiving each email sent to the list one at a time.</td>
</tr>
<tr>
<td valign="top" align="left" width="50%" style="font-family:verdana;font-size:10pt">
<form method="post" action="https://mailpost.webhelps.com/mailpost.exe/IMailDigest.txt" name=IMailDigest>
<input type="hidden" name="success" value="..\..\hosting\localuser\AccountName\SuccessPage">
<input type="hidden" name="*on-error*" value="..\..\hosting\localuser\AccountName\ErrorPage">
<input type="hidden" value="ListDomain" name="ListDomain">
<input type="hidden" value="ListName" name="ListName">
Email Address:<BR>
<input type=text name=required-Email.email><BR>
<input type=submit value='Submit'></form>
OR<br><br>
Send an email<br>
<b>To:</b> <i>imail@ListDomain</i><br>
<b>From:</b> <i>your subscription address</i><br>
<b>Subject:</b> <i>digest subscription</i><br>
<b>Message:</b> <i>set mode digest ListName</i></td>
<td valign="top" align="left" width="50%" style="font-family:verdana;font-size:10pt">
<form method="post" action="https://mailpost.webhelps.com/mailpost.exe/IMailNoDigest.txt" name=IMailDigest>
<input type="hidden" name="success" value="..\..\hosting\localuser\AccountName\SuccessPage">
<input type="hidden" name="*on-error*" value="..\..\hosting\localuser\AccountName\ErrorPage">
<input type="hidden" value="ListDomain>" name="ListDomain">
<input type="hidden" value="ListName" name="ListName">
Email Address:<BR>
<input type=text name=Email><BR>
<input type=submit value='Submit'></form>
OR<br><br>
Send an email<br>
<b>To:</b> <i>imail@ListDomain</i><br>
<b>From:</b> <i>your subscription address</i><br>
<b>Subject:</b> <i>unsubscribe digest</i><br>
<b>Message:</b> <i>set mode standard ListName</i></td>
</tr>
<tr>
<td bgColor=#0aa0b6 width="50%" nowrap nowrap style="font-family:verdana;font-size:10pt;font-weight:bold;color:white">Post to the List:</td>
<td bgColor=#0aa0b6 width="50%" nowrap nowrap style="font-family:verdana;font-size:10pt;font-weight:bold;color:white">Get Help:</td>
</tr>
<tr>
<td valign="top" align="left" width="50%" style="font-family:verdana;font-size:10pt">
<form method="post" action="https://mailpost.webhelps.com/mailpost.exe/IMailMailer.txt" name=IMailMailer>
<input type="hidden" name="success" value="..\..\hosting\localuser\AccountName\SuccessPage">
<input type="hidden" name="*on-error*" value="..\..\hosting\localuser\AccountName\ErrorPage">
<input type="hidden" value="ListDomain" name="ListDomain">
<input type="hidden" value="ListName" name="ListName">
Your Subscription Address:<BR>
<input type=text name=required-Email.email><BR>
Subject:<BR>
<input type=text name=Subject><BR>Your message:<BR>
<textarea name="Message" cols="30" rows="10"></textarea><BR>
<input type=submit value='Submit'></form>
OR<br><br>
Send an email<br>
<b>To:</b> <i>ListName@ListDomain</i><br>
<b>From:</b> <i>your subscription address</i></td>
<td valign="top" align="left" width="50%" style="font-family:verdana;font-size:10pt">To receive the list's Help file by email, send an email<br><br>
<b>To:</b> <i>imail@ListDomain</i><br>
<b>From:</b> <i>your subscription address</i><br>
<b>Subject:</b> <i>Help File</i><br>
<b>Message:</b> <i>help ListName</i>
<br><br><a href="http://webhelps.com/IMail-Manual-Subscriber.shtml" target="_blank">Subscriber's Manual</a>
</tr>
</table> |
| Optional Error Page Code |
<HTML>
<BODY>
<HEAD>
<TITLE>Form Error Page</TITLE>
</HEAD>
<TABLE cellpadding=4 cellspacing=0 align=center width=600 style="border:1px solid red">
<tr><td bgcolor=red style="color:white;font-weight:bold">Sorry!</td></tr>
<tr><td>There was a problem with the information you submitted:</td></tr>
<tr><td align=center><b>[*error-msg*]</b></td></tr>
<tr><td>Please use the [Back] button to return to the Contact form, then correct and resubmit your request.</td></tr>
<tr><td style="padding-bottom:25px"><b>Thank You!</b></td></tr>
</table>
</BODY>
</HTML> |
|
View List Homepage Example --->
View List Homepage Demo --->
Get Subscription Form Code ---> |
|
|
|
|