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
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.
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?
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
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures