-
-
Notifications
You must be signed in to change notification settings - Fork 17
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 UseDefaultCredentials #12
Comments
Is there any plan on implementing this? It would be very beneficial for situations where we need services to send emails using a local AD integrated SMTP server and don't want to store credentials. |
It is wanted & therefore planned, but I lack time to implement this. But if you have time, feel free to take a bite. |
@PrzemyslawKlys I looked through the thread from MailKit and it seems that integrated authentication isn't implemented yet even on MailKit due to not being cross compatible. |
@AvrumFeldman it probably never will be cross-compatible, but from what I see jstedfast/MailKit#332 (comment) someone did do it on Windows, which would be enough. |
@PrzemyslawKlys I didn't realize you are fine with non cross compatibility. I will try to give it a shot over the next week (hopefully). |
@AvrumFeldman any luck? |
@PrzemyslawKlys what a coincident you are asking now. I've just worked this night a few hours on it and I'm (hopefully) almost done. |
Great - we're only missing this and signing functionality. Looking forward to this! |
Implemented in: Hopefully will work |
In SMTP mail UseDefaultCredentials can be called to skip need to provide credentials.
In Send-MailMessage it seems to be turned on by default if there's no login/pass prompt given or at least I think so. Would need to check sources.
In MailKit it can be achieved it seems but requires some deep dive
The text was updated successfully, but these errors were encountered: