everyone!
I've found plenty of ways to send email via Outlook Desktop using python, if there are any solutions for sending email using web version of outlook and python?
I recommend using the Microsoft Graph API. You will need to sign in the user using Auth0.
Here is a tutorial: https://docs.microsoft.com/en-us/graph/auth
Make sure to request the right scopes for sending emails on behalf of a user.
You also need to consider what auth-flow you want to use. There are different sign-in procedures for web-apps, single-page-apps, and native apps.
After signing in, you can call the following API: https://docs.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http
Before doing either of these steps, you will need to register an app on azure: https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade
Summary:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.