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

(string) (Required)

$name

(string) (Optional)

Default value: ''

$auto

(boolean) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.