AEGEE Mailing Lists: How to Add Automatically Subscribers
Here is explained how to write software that adds new subscribers to LISTSERV mailing lists.
Inviting New Subscribers
You can invite somebody to join a mailing list by simulating a request from him to join the mailing list. Just send an email to LISTNAME-Lemail@example.com containing From (as header in the email) : the email address you want to subscribe, including the name of the person (at least two words), and From (as envelope sender) your email address. Then Listserv will think that that person wanted to subscribe to the list and will send him a request to confirum, that he really wants to subscribe. The word "invitation" is not really an invitation.
Adding a Single Address to One or More Lists
To add a single address to one or more list generate an email to firstname.lastname@example.org using the template:
Subject: new subscriber to LISTNAME
ADD LISTNAME EMAIL_ADDRESS_TO_BE_SUBSCRIBED PW=YOUR_PASSWORD_TO_MANAGE_THE_LIST
e.g. to add email@example.com to AEGEE-L and AEGEE-AGORA-L issue
Subject: new subscriber to AEGEE
ADD AEGEE-L firstname.lastname@example.org PW=LISTSERV_PASSWORD_FOR_SAMPLE@AEGEE.org
QUIET ADD AEGEE-AGORA-L email@example.com PW=LISTSERV_PASSWORD_FOR_SAMPLE@AEGEE.org
If the person shall not be notified about its subscription to the list, but "QUIET" before "ADD". This was done in the subscription above to AEGEE-AGORA-L.
Adding several subscribers to a mailing list with a single email
You can extend the template above to add several email addresses to a mailing list.
Subject: new subscribers to AEGEE
QUIET ADD AEGEE-AGORA-L DD=userlist IMPORT PW=LISTSERV_PASSWORD_FOR_SAMPLE@AEGEE.org
//userlist DD *
Email@address1 Firstname Secondname
Email@address2 Firstname Secondname
Email@address3 Firstname Secondname
Information from LSoft about the bulk operations, and the file format, is available at http://www.lsoft.com/manuals/16.0/htmlhelp/list%20subscribers/LSCommands.html -> List Management Functions .
For questions approach the AEGEE Mail Team.
Written in January 2011 by Дилян Палаузов