Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms

SET_SENDER_FROM_EMAIL Setting

This page documents the SET_SENDER_FROM_EMAIL configuration setting in FormMail.

Type Of Setting

SET_SENDER_FROM_EMAIL is a LEAVE setting, which means...

LEAVE : you can change this setting if you really need to and know what you're doing, but we recommend that you leave this setting unchanged.

Précis

Controls setting of Sender from "email" field.

Description

SET_SENDER_FROM_EMAIL controls whether the "Sender" is set from the email field.

Some servers require a Sender to be specified for emails to be sent. If your server requires this and you do not want to use the FromAddr feature for form results, set SET_SENDER_FROM_EMAIL to true.

You may also need to set SENDMAIL_F_OPTION to true.

Review the email logic description for full details.

Note that SET_SENDER_FROM_EMAIL is not used if the form specifies FromAddr.

Default Value

From version 9 onwards:

$SET_SENDER_FROM_EMAIL = false;

Before version 9:

define("SET_SENDER_FROM_EMAIL",false);

Examples

From version 9 onwards:

$SET_SENDER_FROM_EMAIL = true;

Before version 9:

define("SET_SENDER_FROM_EMAIL",true);

See Also