Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Nov 25, 2023
1 parent d327514 commit 3190bef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/sendoauth2.phps
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

//Import SendOauth2B class into the global namespace
use decomplexity\SendOauth2\SendOauth2B;

//Import PHPMailer classes into the global namespace
//These must be at the top of your script, not inside a function
use PHPMailer\PHPMailer\PHPMailer;
Expand All @@ -47,7 +46,7 @@ try {
//Sender and recipients
$mail->setFrom('[email protected]', 'Mailer'); // 'Header' From address with optional sender name
$mail->addAddress('[email protected]', 'Joe User'); //Add a recipient

//Authentication
$oauthTokenProvider = new SendOauth2B(
['mail' => $mail, // PHPMailer instance
Expand Down

0 comments on commit 3190bef

Please sign in to comment.