Setting up E-mail Mailing Lists
A listserve is an application that manages email messages sent to a group of email addresses. It allows a mailing list member to email all other members of the list by sending a single email that gets sent to all of the addresses on the list. The mailing list members are called subscribers and the person in charge of each mailing list is called a list owner or list administrator.
Services You Can Use to Create a Mailing List
Any EPA employee can create a new email list using the Lyris email marketing application. To learn how, see the EPA Mailing Lists page.
- Not all third-party services are free.
- If the service you select is free, ensure you are following EPA-approved terms of service. You must not sign up for a service that is not approved. Contact your Web Council member with questions.
Creating an email Signup Form on Your Web Page
Lyris Listserv
If you're using the Lyris listserv application, your signup form will look like the example below. This example asks for a user's email address, name, password and verification of password (passwords are recommended but optional). The form also provides three choices of lists to subscribe to, and redirects users to a thank you page after they have hit the Submit button.
Adjust the names of lists to subscribe to, to match your listserv settings, and update the thank you page setting. The Creating Web Forms for List Subscription page includes examples of other forms you can use, but you'll have to massage the HTML using the example below to get the forms elements to look good with the EPA theme.
Example
HTML Code for the Example Above
<form action="https://lists.epa.gov/subscribe/subscribe.tml" method="POST"> <div class="form-item form-item--email"> <label class="form-item__label" for="email-id">Email</label> <input class="form-item__email" id="email-id" maxlength="128" name="email" placeholder="you@domain.com" size="60" type="email"> <div class="form-item__description">Optional description for this form element.</div> </div> <div class="form-item form-type-textfield"> <label class="form-item__label" for="name-id">Name</label> <input class="form-item__text" id="name-id" maxlength="128" name="name" placeholder="First Last" size="60" type="text"> <div class="form-item__description">Optional description for this form element.</div> </div> <div class="form-item form-item--password"> <label class="form-item__label" for="pw-id">Password</label> <input class="form-item__password" id="pw-id" maxlength="128" name="pw" size="60" type="password"> <div class="form-item__description">Optional description for this form element.</div> </div> <div class="form-item form-item--password"> <label class="form-item__label" for="pwv-id">Confirm password</label> <input class="form-item__password" id="pwv-id" maxlength="128" name="pwv" size="60" type="password"> <div class="form-item__description">Optional description for this form element.</div> </div> <div class="form-item form-type-checkboxes"> <label for="subscribe-id">Which list would you like to subscribe to?</label> <div class="form-checkboxes" id="subscribe-id"> <div class="form-item form-item--checkbox"> <input class="form-item__checkbox" id="subscribe-one-id" name="list" type="checkbox" value="epa-list"> <label class="form-item__label is-after" for="subscribe-one-id">epa-list</label> </div> <div class="form-item form-item--checkbox"> <input class="form-item__checkbox" id="subscribe-three-id" name="list" type="checkbox" value="epa-recycle"> <label class="form-item__label is-after" for="subscribe-three-id">epa-recycle</label> </div> <div class="form-item form-item--checkbox"> <input class="form-item__checkbox" id="subscribe-two-id" name="list" type="checkbox" value="epa-services"> <label class="form-item__label is-after" for="subscribe-two-id">epa-services</label> </div> </div> <div class="description">Optional description for this form element.</div> </div> <input type=hidden name="url" value="https://www.epa.gov/my-web-area/thank-you-signing-up"> <input type="hidden" name="confirm" value="one"> <input type="hidden" name="showconfirm" value="T"> <input class="form-submit button" type="submit" value="Submit"> </form>GovDelivery
Here is the email form that can be used on any web page. The code below will not work: you will have to adjust the code to match your subscription details.