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 7.0
public function setOAuth(OAuthTokenProvider $oauth)
{
$this->oauth = $oauth;
}