Skip to content
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

Open
bdin1 opened this issue May 2, 2024 · 6 comments
Open

Email Notification via OAuth2 #5739

bdin1 opened this issue May 2, 2024 · 6 comments
Assignees
Labels
enhancement General tag for an enhancement
Milestone

Comments

@bdin1
Copy link

bdin1 commented May 2, 2024

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)

@bdin1 bdin1 added the enhancement General tag for an enhancement label May 2, 2024
@TheWitness
Copy link
Member

Thanks for raising this. We will look into it.

@TheWitness
Copy link
Member

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.

@bdin1
Copy link
Author

bdin1 commented Aug 1, 2024 via email

@TheWitness
Copy link
Member

@bdin1,

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

@TheWitness TheWitness self-assigned this Oct 21, 2024
@TheWitness
Copy link
Member

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.

@TheWitness TheWitness added this to the v1.3.0 milestone Nov 16, 2024
@xmacan
Copy link
Member

xmacan commented Nov 18, 2024

I'll do it in the next few days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General tag for an enhancement
Projects
None yet
Development

No branches or pull requests

3 participants