PHPMailer\PHPMailer
PHPMailer::addReplyTo()
Add a "Reply-To" address.
Метод класса: PHPMailer{}
Хуков нет.
Возвращает
true|false
. true on success, false if address already used or invalid in some way
Использование
$PHPMailer = new PHPMailer(); $PHPMailer->addReplyTo( $address, $name );
- $address(строка) (обязательный)
- The email address to reply to
- $name(строка)
- -
По умолчанию: ''
Код PHPMailer::addReplyTo() PHPMailer::addReplyTo WP 6.6.2
public function addReplyTo($address, $name = '') { return $this->addOrEnqueueAnAddress('Reply-To', $address, $name); }