Soupermail Examples

Basic Usage

Your Email Address:

Using Templates

Mailing Examples

Using Cookies

Enter some stuff:

File Upload

Submit this form with a file, and see how Soupermail handles email attachments.

Your File:
Your Email Address:

Using Counters

Note: These counter examples will write data into the counters subdirectory of this example section. They won't work unless that directory is writable by the webserver.

Saving to a file

Note: These file examples will write data into the counters subdirectory of this example section. They won't work unless that directory is writable by the webserver.

Email Encryption Using PGP or GPG

This example assumes that you have set up soupermail to use either GPG (GNU Privacy Guard) or PGP (Pretty Good Privacy). If you try using PGP when you've set Soupermail up to use GPG (or vice-versa) don't expect it to work.

Your email address:
Use PGP/MIME?
Use PGP Textmode?

Use for encryption.

The example below shows a more complex use of PGP in conjunction with Soupermail's file upload facility.

Sending HTML Mail

Your Email Address:

Generating PDF documents

Pipelining

Return MIME types

Enter some text to put into an SVG file:

Mailing Lists

The field below contains an example set of lines that could go into a mailing list file. Each line consists of an email address, a name, and some other text data, separated by commas.

As you can see from the default data above, entries are separated by commas, and, where you want to include commas in your data, you quote the entry. Quotes must be 'doubled up'.

Use form data?

Database support

The following example is used to query the an example MySQL database table. Unless you have the database and table running with the a user called test and password testpassword set up, this won't work.

The whole example shows how Soupermail can query and update a database table.