PBeM-Portal.com
  Home  |  Games  |  Resources  |  Search   Friday, 10th September 2010
 You are in : Home / Hosting FAQ  
  • Welcome
  • About Us
  • News
  • Hosting FAQ
  • Link Us
  • Awards
  • Webrings
  • Subscriptions
  •  


    1 - Managing Mailing Lists with Majordomo

    Here at PBeM-Portal.com we use Majordomo for all our mailing list management. Management of your mailing lists is as simple as sending a few commands via email. I've summarised the most common commands below.

    Adding Subscribers
    To add someone to your mailing list, send an email to majordomo@pbem-portal.com with the following in the BODY of the mail:

    subscribe listname me@myemail.com

    Where listname is the name of your list and me@myemail.com is the email address of the person you wish to be subscribed to your list. You can add more than one person in the same mail, just make sure that each subscribe statement is on a separate line.

    Removing Subscribers
    To remove someone from your mailing list, send an email to majordomo@pbem-portal.com with the following in the BODY of the mail:

    unsubscribe listname me@myemail.com

    Where listname is the name of your list and me@myemail.com is the email address of the person you wish to be removed your list. You can remove more than one person in the same mail, just make sure that each unsubscribe statement is on a separate line.

    Who is Subscribed ?
    To see who is subscribed to your mailing list, send an email to majordomo@pbem-portal.com with the following in the BODY of the mail:

    who listname

    Where listname is the name of your list. If you have multiple lists, place a separate who statement for each list on a new line in the mail. Majordomo will then send you the complete details of all subscribers to those lists.

    2 - Having a Form to E-Mail script on your website.

    We've a standard form-to-mail script in our /cgi-bin directory that's available for you to use on your sites. For example, should you want to have a joining form for your PBeM. You can create the form in html and use our form-to-mail script to have the form email to you or anyone else each time it is completed.

    To use the form-to-mail script on your site, follow the code below:

    Create a form that you would like the contents mailed to some address. The form should include the following field (at the very least):

    recipient = specifies who mail is sent to

    Other optional fields can also be used to enhance the operation of FormMail for you site, for example:

    subject = specify the subject included in e-mail sent back to you

    email = allow the user to specify a return e-mail address

    realname = allow the user to input their real name

    redirect = URL of page to redirect to instead of echoing form input

    required = list of field names that are required input (comma delimited)

    For example, the HTML source for your form may look like this:

    <form method="POST" action="/cgi-bin/formmail.pl"> 


    <input type="hidden" name="recipient" value="order@yourdomain.com">


    <input type="hidden" name="subject" value="Order Request">


    <input type="hidden" name="required" value="realname,username,phone">


    Please Enter Your Name:<br>


    <input name="realname" size="40">


    <p>


    Please Enter Your Email Address:<br>


    <input name="username" size="40">


    <p>


    Please Enter Your Phone Number:<br>


    <input name="phone" size="40">


    <p>


    .


    .


    .


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


    <input type="reset" value="Reset">


    </form>




    That should do the trick.

    Powered by Nexus 2.12
    www.azorius.com