Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms


This page documents the EMAIL_ADDRS configuration setting in FormMail.

Type Of Setting

EMAIL_ADDRS is an OPTIONAL setting, which means...

OPTIONAL : you can change this setting if you need to, but the default value is fine for most circumstances.


Email address aliases.


You can use EMAIL_ADDRS to create aliases for your email addresses.

You may want to do this to hide actual email addresses and avoid including them literally on your web pages.

For example, instead of using "" as a recipient email address in your form, you can create an alias (say "moreinfo") and use that instead.

You can also use an INI file to create email address aliases, but the EMAIL_ADDRS setting requires less setup as you can make the changes in the configuration area of FormMail.

In the EMAIL_ADDRS array you provide keys and values. A key is the alias you want to create and the value is the actual email address(es).

See the examples below to help with constructing your aliases.

Default Value

$EMAIL_ADDRS = array();


$EMAIL_ADDRS = array('moreinfo' => '');
$EMAIL_ADDRS = array('feedback' => ',,');
$EMAIL_ADDRS = array(
    'support' => '',
    'sales' => '',
    'ceo' => ''

See Also