PHPMailer::setFrom

Advertisement

Summery Summery

Set the From and FromName properties.

Syntax Syntax

PHPMailer::setFrom( string $address, string $name = '', boolean $auto = true )

Parameters Parameters

$address

(Required)

$name

(Optional)

Default value: ''

$auto

(Optional) Whether to also set the Sender address, defaults to true

Default value: true

Return Return

(boolean)

Source Source

File: wp-includes/class-phpmailer.php


			

Advertisement

Advertisement

Leave a Reply