Newsletter signup in a single script.
## Install & configure
* Copy `tinysignup.php`, `tinysignup-config-data.php` and `tinysignup.js` up onto your server.
* Open the tinysignup.php script in the browser to create the config file `tinysignup-config-data.php`.
* Edit `tinysignup-config-data.php` to set up your own list name.
* Add a `passwords` field (plaintext) to password protect the CSV download.
```html
```
If you want to customise the message which is shown use the `data-message` attribute:
```html
```
If you want to completely customise the form which is shown, use the `data-form` and `data-div` attributes:
```html
```
## Use
* Download the CSV like this: `https://YOUR-SERVER/tinysignup.php?csv=LISTNAME&p=PASSWORD`
* Perform [mail merge in your client](https://addons.thunderbird.net/en-US/thunderbird/addon/mail-merge/).
* Use `To: {{email}}` in the mail template header.
* Use `X-List-unsubsribe: {{unsubscribe}}` in the template header (make sure you have this).
* Signup data is stored in `list-LISTNAME-data.php`.