On this page:
- Subscribe an Email Address (Open Mailing List)
- Subscribe an Email Address (Moderated List)
- Subscribe an Email Address (Moderated List and Confirmation Message)
- Unsubscribe an Email Address
You can use Telegraph to subscribe or unsubscribe any email address to a Majordomo mailing list that you administer. This can be done with a dedicated form, or by adding the <directive action="subscribe">
tag to an existing Telegraph configuration file.
Subscribe an Email Address (Open Mailing List)
- Add this line of code to your Telegraph configuration file:
<directive action="subscribe" list="your-list-name" address="[email]" value="subscribe" />
- Replace your-list-name with the name of your Majordomo mailing list.
- Make sure that [email] corresponds to the form field collecting the email address.
This will automatically subscribe the form-provided email address to your mailing list and send a subscription notification to that email address. To subscribe an email address without sending a notification, use the instructions for Moderated Lists (below).
Subscribe an Email Address (Moderated List)
- Add this line of code to your Telegraph configuration file:
<directive action="subscribe" list="your-list-name" address="[email]" value="subscribe" password="your-list-password" />
- Replace your-list-name with the name of your Majordomo mailing list.
- Replace your-list-password with the administrative password for your Majordomo mailing list.
- Make sure that [email] corresponds to the form field collecting the email address.
This will automatically subscribe the form-provided email address to your mailing list without sending a subscription notification to that email address.
Subscribe an Email Address (Moderated List and Confirmation Message)
- Add this line of code to your Telegraph configuration file:
<directive action="subscribe" list="your-list-name" address="[email]" value="subscribe" password="your-list-password" notification="yes" />
- Replace your-list-name with the name of your majordomo mailing list.
- Replace your-list-password with the administrative password for your Majordomo mailing list.
- Make sure that [email] corresponds to the form field collecting the email address.
This will automatically subscribe the form-provided email address to your mailing list and send a confirmation message to the list owner(s). A subscription notification will not be sent to the email address being subscribed.
Unsubscribe an Email Address
- Add this line of code to your Telegraph configuration file:
<directive action="unsubscribe" list="your-list-name" address="[email]" value="unsubscribe" />
- Replace your-list-name with the name of your majordomo mailing list.
- Make sure that [email] corresponds to the form field collecting the email address.
No list password is required to unsubscribe an email address from a Majordomo mailing list. An unsubscription notice is automatically sent to the email address being unsubscribed.