authcrunch / authcrunch.github.io

Documentation for Caddy v2 Auth Portal and Authorize Plugins.
77 stars 32 forks source link

fail to send mail to smtp-mail.outlook.com #49

Open TermeHansen opened 1 year ago

TermeHansen commented 1 year ago

I'm trying to use the localhost-smtp-server for local registration, but it fails with Unrecognized authentication type for some reason.

Any pointers in how to set this up with outlook.com accounts?

        credentials info@mail {
          username {$SMTP_USERNAME}
          password {$SMTP_PASSWORD}
        }

        messaging email provider localhost-smtp-server {
            address smtp-mail.outlook.com:587
            protocol smtp
                        credentials info@mail
            sender {$SMTP_USERNAME} "User Registration for server.{$DOMAIN}"
        }

"notification request via \"localhost-smtp-server\" email provider failed: Unrecognized authentication type [DUZPR01CA0102.eurprd01.prod.exchangelabs.com 2023-04-04T09:52:09.922Z 08DB316C8DF17388]"

greenpau commented 1 year ago

@TermeHansen , this looks like some incompatibility in the server, i.e. it does not support the offered exchange.