public function PHPMailer::AddReplyTo in SMTP Authentication Support 7.2
Same name and namespace in other branches
- 5 smtp.module \PHPMailer::AddReplyTo()
- 7 smtp.phpmailer.inc \PHPMailer::AddReplyTo()
Adds a "Reply-to" address.
Parameters
string $address:
string $name:
Return value
boolean
File
- ./
smtp.phpmailer.inc, line 445 - The mail handler class in smtp module, based on code of the phpmailer library, customized and relicensed to GPLv2.
Class
- PHPMailer
- PHPMailer - PHP email transport class NOTE: Requires PHP version 5 or later @package PHPMailer @author Andy Prevost @author Marcus Bointon @copyright 2004 - 2009 Andy Prevost
Code
public function AddReplyTo($address, $name = '') {
return $this
->AddAnAddress('ReplyTo', $address, $name);
}