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

Add App Password functionality to handle 2FA for outgoing emails #8623

Open
usonianhorizon opened this issue Jan 30, 2025 · 2 comments
Open

Comments

@usonianhorizon
Copy link

usonianhorizon commented Jan 30, 2025

Outlook as part of O365 and Gmail have App Passwords to allow outgoing email via SMTP.

In order to connect LedgerSMB to these email services App Password capability needs to be added.

@usonianhorizon
Copy link
Author

I may have completely misunderstood App Password mechanism. From my re-reading, it would seem that generating an App Password allows one to bypass 2FA for legacy apps, and so my asking for App Password functionality to handle 2FA doesn't make sense.

@ehuelsmann
Copy link
Member

Our configuration mechanism allows for configuration of many different mail transports, including hooking up "transactional e-mail services" like Mailgun with the right plugins, including a directly available Mailgun plugin.

For different types of authentication using a regular SMTP service, the included SMTP transport provides an sasl_authenticator attribute which can hold an Authen::SASL instance. I'm the maintainer of that module; if there are any methods missing, we can extend it.

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

No branches or pull requests

2 participants