Open venuses opened 1 month ago
In the previous version, the configured Outlook emails were sent normally, but after updating to the latest version, they cannot be sent.
Not related. Because outlook is changing their behavior.
The message is quite clear: outlook says: "basic auth is disabled", but you are still using it, so you can't succeed to send email by your "basic auth"
how should I deal with this? my app.ini configuration is as follows:
[mailer]
ENABLED = true
FROM = `Name <name@outlook.com>`
PROTOCOL = smtp+starttls
SMTP_ADDR = smtp-mail.outlook.com
SMTP_PORT = 587
USER = "name@outlook.com"
PASSWD = `xxxx`
ENABLE_HELO = true
how should I deal with this? my app.ini configuration is as follows:
[mailer] ENABLED = true FROM = `Name <name@outlook.com>` PROTOCOL = smtp+starttls SMTP_ADDR = smtp-mail.outlook.com SMTP_PORT = 587 USER = "name@outlook.com" PASSWD = `xxxx` ENABLE_HELO = true
I do not think there is OAuth support at the moment. If I understand correctly, the OAuth SMTP is designed for end users, but not for server software like Gitea. And outlook is moving to "only provide services for end users".
There are details on Microsoft's site: https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth
You can use the OAuth authentication service provided by Microsoft Entra (Microsoft Entra) to enable your application connect with IMAP, POP, or SMTP protocols to access Exchange Online in Office 365. To use OAuth with your application, you need to:
Maybe it needs some people to try and implement it.
In this link, a new method is provided. Is it currently supported?
No, there is no such support. There are only a few auth methods supported.
So now I can only change to another outbox😅
So now I can only change to another outbox😅
Or write some code to add "OAuth" support
OK,I'll see how to solve it.
Description
In the previous version, the configured Outlook emails were sent normally, but after updating to the latest version, they cannot be sent.
Gitea Version
docker image 1.22.3-rootless
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
docker image 1.22.3-rootless
Database
PostgreSQL