PHPMailer\PHPMailer
SMTP::sendHello()
Send an SMTP HELO or EHLO command. Low-level implementation used by hello().
Method of the class: SMTP{}
No Hooks.
Return
true|false
.
Usage
// protected - for code of main (parent) or child class $result = $this->sendHello( $hello, $host );
- $hello(string) (required)
- The HELO string
- $host(string) (required)
- The hostname to say we are
Notes
- See: hello()
SMTP::sendHello() SMTP::sendHello code WP 6.4.1
protected function sendHello($hello, $host) { $noerror = $this->sendCommand($hello, $hello . ' ' . $host, 250); $this->helo_rply = $this->last_reply; if ($noerror) { $this->parseHelloFields($hello); } else { $this->server_caps = null; } return $noerror; }