Hi Reddit,
I need your help with a Python project that has me completely stuck.
My goal is simple: I want to create a Python script that can send an email using my personal Outlook account. Ideally, this script would just run and send the email, without requiring me to go through a Microsoft login page or similar steps.
However, there’s a major roadblock: Microsoft has removed basic authentication for SMTP and now requires OAuth2 authentication, specifically through their API (Microsoft Graph).
My issue is that diving into Microsoft Graph API has been overwhelming. I feel like i need to learn an entirely new ecosystem just to send an email.
I’m struggling with the different authentication flow (client credentials, delegated access, …) and i’ve tried every tutorial I could find on Microsoft’s site, but they always seem geared towards professional or educational accounts. I just want to use my personal Outlook account.
I’m reaching out to you, hoping someone might have. a straightforward tutorial that’s actually relevant to personal Outlook accounts, or any kind of pointers or tips that could help me move forward.
I’ll take anything at this point. Thank you so much in advance for any help you can offer!
submitted by /u/Halogenes
[link] [comments]
r/learnpython Hi Reddit, I need your help with a Python project that has me completely stuck. My goal is simple: I want to create a Python script that can send an email using my personal Outlook account. Ideally, this script would just run and send the email, without requiring me to go through a Microsoft login page or similar steps. However, there’s a major roadblock: Microsoft has removed basic authentication for SMTP and now requires OAuth2 authentication, specifically through their API (Microsoft Graph). My issue is that diving into Microsoft Graph API has been overwhelming. I feel like i need to learn an entirely new ecosystem just to send an email. I’m struggling with the different authentication flow (client credentials, delegated access, …) and i’ve tried every tutorial I could find on Microsoft’s site, but they always seem geared towards professional or educational accounts. I just want to use my personal Outlook account. I’m reaching out to you, hoping someone might have. a straightforward tutorial that’s actually relevant to personal Outlook accounts, or any kind of pointers or tips that could help me move forward. I’ll take anything at this point. Thank you so much in advance for any help you can offer! submitted by /u/Halogenes [link] [comments]
Hi Reddit,
I need your help with a Python project that has me completely stuck.
My goal is simple: I want to create a Python script that can send an email using my personal Outlook account. Ideally, this script would just run and send the email, without requiring me to go through a Microsoft login page or similar steps.
However, there’s a major roadblock: Microsoft has removed basic authentication for SMTP and now requires OAuth2 authentication, specifically through their API (Microsoft Graph).
My issue is that diving into Microsoft Graph API has been overwhelming. I feel like i need to learn an entirely new ecosystem just to send an email.
I’m struggling with the different authentication flow (client credentials, delegated access, …) and i’ve tried every tutorial I could find on Microsoft’s site, but they always seem geared towards professional or educational accounts. I just want to use my personal Outlook account.
I’m reaching out to you, hoping someone might have. a straightforward tutorial that’s actually relevant to personal Outlook accounts, or any kind of pointers or tips that could help me move forward.
I’ll take anything at this point. Thank you so much in advance for any help you can offer!
submitted by /u/Halogenes
[link] [comments]