How to Automate Email Sending in Outlook with a Script?

0
1
Asked By CuriousCat42 On

I'm trying to set up an automated email system using Outlook to send out emails every 30 minutes to different recipients at various times. My organization uses Outlook, and I want to create a script that I can run on a Windows or Linux server on AWS. I've attempted to write a Python script for this, but I'm stuck on how to log into the organization's Outlook account since app passwords are no longer an option for me. What's the best way to handle the login process so I can get this email automation working?

3 Answers

Answered By WiseSage007 On

Absolutely! To get started with the Graph API, you’ll need to register your app and get the necessary permissions. This usually involves creating an app in Azure and setting up the right grants. If you're unsure about how to proceed, you can typically involve your IT department to ensure you have the app access set up correctly.

Answered By TechieWizard99 On

Sending emails from a script can be straightforward, but it's crucial to know the platforms you're working with. Your need for varying timestamps for sending emails seems a bit unique. Can you clarify what you're trying to achieve, and are you using Office 365 for your emails?

Answered By CodeNinja88 On

If you're using Office 365, consider using the Microsoft Graph API to handle email sending. It’s a bit more modern and supports direct interactions with your Outlook account. It might be a better route than just SMTP, especially since you mentioned having issues with logging in.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.