-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email Notification via OAuth2 #5739
Comments
Thanks for raising this. We will look into it. |
So, which example works better for you option1 or option2? https://github.com/PHPMailer/PHPMailer/blob/master/examples/gmail_xoauth.phps Lines 54++ in that file. |
I think option 1 looks better, I think it could be modified to allow for Office 365 and then a call to lookup a stored token that is refreshed every hour
Thank you,
Eric C
From: TheWitness ***@***.***>
Sent: Wednesday, July 31, 2024 5:30 PM
To: Cacti/cacti ***@***.***>
Cc: bdin1 ***@***.***>; Author ***@***.***>
Subject: Re: [Cacti/cacti] Email Notification via OAuth2 (Issue #5739)
So, which example works better for you option1 or option2?
https://github.com/PHPMailer/PHPMailer/blob/master/examples/gmail_xoauth.phps
Lines 54++ in that file.
—
Reply to this email directly, view it on GitHub <#5739 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AOQDIQ54RRH4VRBZV5OMC53ZPFQQBAVCNFSM6AAAAABHDZLDDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRGU3DKNZWGQ> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AOQDIQ4NSHZG27KX76FEKK3ZPFQQBA5CNFSM6AAAAABHDZLDDCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGZTAUI.gif> Message ID: ***@***.*** ***@***.***> >
|
Just looking at this. It's painful as there are so many settings to preserve, but it's also pretty strait forward. I'm on vacation this week, but will start to rough this in next week. Larry |
Have you been able to spend any time here yet @xmacan? I'm going through issues this week since I won't have dev access. |
I'll do it in the next few days |
Email Notification via OAuth2
Current I see the following email methods
PHPMail()
Sendmail
SMTP
I'm running Version 1.2.26
Maybe this has been asked before, but so many email providers are looking for stronger security to send emails, having access to OAuth would be nice. I do see in the /cacti/include/vendor/phpmailer/src has a OAuth.php method, but not sure how to configure it in Cacti. I do have access to microsoft graph api (codes and token)
The text was updated successfully, but these errors were encountered: