Outlook
When i test with outlook, i received this error:
ERROR: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [ROAP284CA0246.BRAP284.PROD.OUTLOOK.COM 2024-11-09T18:52:38.365Z 08DD00AC0E70755C]
Example: mailsend-go.exe -sub "Teste" -smtp smtp-mail.outlook.com -port 587 auth -user "[email protected]" -pass "my-password" -f "[email protected]" -t "[email protected]" body -msg "Teste 123" -domain "smtp-mail.outlook.com"
Could you test if authentication works or not with my "mailsend" program? mailsend supports login, plain and cram-md5 and a specific authentication can be specified explicitly. mailsend-go uses a third-partly library. Thanks.
same error, Hotmail/Outlook SMTP seems no longer support App password? @muquit can you confirm if outlook smtp still working using another authentication?
As you've noticed, even though AUTH LOGIN is there but microsoft seems to have disabled it. Looks like they only supports XOAUTH2. That means I've to add support for XAUTH2 when I get some time. Here is the output of info:
$ mailsend-go -smtp smtp.office365.com -info -port 587
[S] 220 BL1PR13CA0330.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 24 Jan 2025 03:25:23 +0000 [08DD36B37FE14073]
[C] HELO localhost
[C] EHLO localhost
[S] 250-BL1PR13CA0330.outlook.office365.com Hello [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
[S] 250-SIZE 157286400
[S] 250-PIPELINING
[S] 250-DSN
[S] 250-ENHANCEDSTATUSCODES
[S] 250-STARTTLS
[S] 250-8BITMIME
[S] 250-BINARYMIME
[S] 250-CHUNKING
[S] 250-SMTPUTF8
[C] STARTTLS
[S] 220-2.0.0 SMTP server ready
[C] EHLO localhost
[S] 250-BL1PR13CA0330.outlook.office365.com Hello [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
[S] 250-SIZE 157286400
[S] 250-PIPELINING
[S] 250-DSN
[S] 250-ENHANCEDSTATUSCODES
[S] 250-AUTH LOGIN XOAUTH2. <<<<<<<<<<<<<<<<<<<<<
[S] 250-8BITMIME
[S] 250-BINARYMIME
[S] 250-CHUNKING
[S] 250-SMTPUTF8
Certificate of smtp.office365.com:
Version: 3 (0x3)
Serial Number: 20058375873168194746987232153701302504 (0xf171a48c6f223809218cd2ed6ddc0e8)
Signature Algorithm: SHA256-RSA
Subject: CN=DigiCert Cloud Services CA-1,O=DigiCert Inc,C=US
Issuer: DigiCert Global Root CA
Not before: 2020-09-25 00:00:00 +0000 UTC
Not after: 2030-09-24 23:59:59 +0000 UTC
[C] QUIT
[S] 221-2.0.0 Service closing transmission channel
Got it, thanks and will wait. Thanks
From: muquit @.> Sent: Saturday, January 25, 2025 6:07:19 AM To: muquit/mailsend-go @.> Cc: jasonwch @.>; Comment @.> Subject: Re: [muquit/mailsend-go] Outlook (Issue #68)
As you've noticed, even though AUTH LOGIN is there but microsoft seems to have disabled it. Looks like they only supports XOAUTH2. That means I've to add support for XAUTH2 when I get some time. Here is the output of info:
$ mailsend-go -smtp smtp.office365.com -info -port 587 [S] 220 BL1PR13CA0330.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 24 Jan 2025 03:25:23 +0000 [08DD36B37FE14073] [C] HELO localhost [C] EHLO localhost [S] 250-BL1PR13CA0330.outlook.office365.com Hello [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] [S] 250-SIZE 157286400 [S] 250-PIPELINING [S] 250-DSN [S] 250-ENHANCEDSTATUSCODES [S] 250-STARTTLS [S] 250-8BITMIME [S] 250-BINARYMIME [S] 250-CHUNKING [S] 250-SMTPUTF8 [C] STARTTLS [S] 220-2.0.0 SMTP server ready [C] EHLO localhost [S] 250-BL1PR13CA0330.outlook.office365.com Hello [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] [S] 250-SIZE 157286400 [S] 250-PIPELINING [S] 250-DSN [S] 250-ENHANCEDSTATUSCODES [S] 250-AUTH LOGIN XOAUTH2. <<<<<<<<<<<<<<<<<<<<< [S] 250-8BITMIME [S] 250-BINARYMIME [S] 250-CHUNKING [S] 250-SMTPUTF8 Certificate of smtp.office365.com: Version: 3 (0x3) Serial Number: 20058375873168194746987232153701302504 (0xf171a48c6f223809218cd2ed6ddc0e8) Signature Algorithm: SHA256-RSA Subject: CN=DigiCert Cloud Services CA-1,O=DigiCert Inc,C=US Issuer: DigiCert Global Root CA Not before: 2020-09-25 00:00:00 +0000 UTC Not after: 2030-09-24 23:59:59 +0000 UTC [C] QUIT [S] 221-2.0.0 Service closing transmission channel
— Reply to this email directly, view it on GitHubhttps://github.com/muquit/mailsend-go/issues/68#issuecomment-2613472128, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHSRLYGI26RAY2HG3KOYK32MK2RPAVCNFSM6AAAAABRPMKB3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJTGQ3TEMJSHA. You are receiving this because you commented.Message ID: @.***>