PHP FormMail,
Form Encryption
 
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...

Pointer

LEAVE

you can change this setting if you really want 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.

define("SET_SENDER_FROM_EMAIL",false);

Examples

define("SET_SENDER_FROM_EMAIL",true);

See Also

SENDMAIL_F_OPTION

INI_SET_FROM