-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Hello is there someone making it works with the auth token and phpmailer?
I tried to use the refrehed token but phpmailer return CLIENT: 535 5.7.3 Authentication unsuccessful
Using graph api is great but i struggle with phpmailer.
$mail->setOAuth(
new OAuth(
[
'provider' => $provider,
'clientId' => $clientId,
'clientSecret' => $clientSecret,
'refreshToken' => $refreshToken,
'userName' => $email,
]
)
);
i also tried to set url of the api and version without more success
$provider->urlAPI = 'https://graph.microsoft.com/';
$provider->API_VERSION = '1.0';
Any help is welcome,
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels