PHPMailer\PHPMailer
PHPMailer::setOAuth
Set an OAuthTokenProvider instance.
Method of the class: PHPMailer{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->setOAuth( $oauth );
- $oauth(OAuthTokenProvider) (required)
- .
PHPMailer::setOAuth() PHPMailer::setOAuth code WP 6.8.1
public function setOAuth(OAuthTokenProvider $oauth) { $this->oauth = $oauth; }