Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms

EMAIL_ADDRS Setting

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.

Précis

Email address aliases.

Description

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 "info@yoursite.com" 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();

Examples

$EMAIL_ADDRS = array('moreinfo' => 'info@yoursite.com');
$EMAIL_ADDRS = array('feedback' => 'mary@yoursite.com,jack@yoursite.com,joe@somesite.us');
$EMAIL_ADDRS = array(
    'support' => 'supportstaff@yoursite.com',
    'sales' => 'salesteam@yoursite.com',
    'ceo' => 'jack.boss@yoursite.com'
              );

See Also

 
Close