FlexContact Stack
Create a mailto link automatically from a CSV file or from contacts found on any web page.
How does it work?
PHP is used to either read a CSV file or read the page at any URL and scan for email addresses.

Parameters | |
File type | Select the type of file to read: txt is a plain text file, one or many lines each with one or many e-mails, separated by space, tab, comma, or semicolon; html references any other web page in your site or another site; csv is a Windows csv table. |
File to read | Provide a relative file path or a complete url (containing http: or https:) to a the file type specified above, from which to read non-blank, non-comment (starts with #) lines. For csv type, additional controls below allow filtering which lines are read. All files are automatically located one, two, or three directories above if not found exactly where specified first. If a url is specified it must be complete and the file must exist. Note that duplicate email addresses are automatically prevented. |
Match file lines | Choose which lines of the csv file will be read. By default All lines are used without regard to their content. You may choose to filter only those lines whose first, second, or last column word/number matches certain criteria. |
... Match value | Use this field to specify a word or value that is used to filter the csv file, based on the setting above in Match file lines. |
Delimiter | The mailto link that is produced as output will have e-mail addresses separated by this delimiter. Comma may work best for Mac and iPhone Mail, while Semicolon may work best for Outlook. Use Auto to let the code determine , when viewed on Mac and ; when viewed by Windows or other. |
Link text | Text to place inside mailto link. Use the keyword auto" (default) to have the link text be the list of e-mail addresses." |
Bold link text | Bold the link text. |
Add addresses | Start with the specified list of addresses and add to them from the file. Default is to start with a blank list and build upon it from the file contents only. This could be useful for always including the webmaster in a mailing list. Duplicates are automatically prevented. |
Subject | Optional subject for the e-mail. Leave this blank for no subject. |
Body | Optional body for the e-mail. Leave this blank for no body. |
Check out an example of FlexContact …
Example 1: a mailto link based on the contents of a CSV file in the project Resources folder …
FlexContact link:
Mailing List from CSV File
(please don’t actually mail to this list!)
FlexContact Info
FlexContact Features
- Requires PHP
- Sparkle updates
Purchase FlexContact
- $4 USD via PayPal
- Immediate download *