post your comment   print   send to a friend
Rate:  25% | Views: 1027
Question categories:  Mailing List

how can users subscribe to my mailing list using an online form?

Answer by: Stuart Pierce, Knowledge Base Support.

You can setup an online form on your website to allow visitors to automatically subscribe to a mailing list. The instructions below assume that your domain name is hosted with Aplus.Net and you are using the formmail.pl script available for our shared hosting customers.

  1. You will need first to enable the Auto subscribe / unsubscribe option of your mailing list:
  1. Then, you have to create a form on one of your web pages using our formmail.pl script. You have to explicitly specify the following values:
  • Recipient value should be: list-request@yourdomain.com

  • Subject value should be: subscribe. Note: For unsubscription, the subject value should be “unsubscribe”.

  • You have also to include a required email field so that users should enter the email address to be added to the mailing list.

Important: It is assumed that your mailing list address is list@yourdomain.com. Please make sure to replace “list@yourdomain.com” with your actual mailing list address.

You can see below an example of HTML code. It utilizes the formmail script so that users can subscribe to a mailing list through your web page:

<FORM ACTION="/cgi-sys/formmail.pl" METHOD="POST">

<input type=hidden name="recipient" value="list-request@yourdomain.com">

<input type=hidden name="subject" value="subscribe">

Your Name: <input type=text name="name"><br>

Your Email Address: <input type=text name="email"><br>

<input type=hidden name="required" value="name, email">

<input type=hidden name="redirect" value="http://yourdomain.com/thankyou.html">

<input type="submit" value="Submit" name="Submit">

</FORM>

Note: A “redirect” value is also included in the script. Thus, visitors will go to http://yourdomain.com/thankyou.html when they hit the “Submit” button. Please change this URL to match your own “Thank you” page.

Related links:

Customer Feedback
Rate:  25% | Views: 1027 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Email Hosting | Web Page Design    Back to serch results
Browse the Base
Knowledge Base
Shared Hosting
  Email
    Mailing List
Messages
 

Blogging at Aplus.Net

Don't forget to check out our blog ! Keep up to date at Aplus.Net.

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. What is a Mailing List?
 
2. How can people subscribe & unsubscribe from my mailing list?
 
3. Can I sort the subscriber addresses in my mailing list?
 
4. Can I prohibit attachments from my mailing list subscribers?
 
5. How do I choose to moderate all posts in my mailing list?
 
Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest