How Can I Automate Sending Emails in M365 Without Using Graph API?

0
0
Asked By CreativePineapple57 On

I have a Node.js application that generates weekly reports for about 30 people. Right now, I manually email these reports, but I'm looking to automate the process. I initially thought about using the Microsoft Graph API for this, but my IT team is hesitant to allow it, citing security concerns because they're not familiar with Graph. As a workaround, I've been using the command line to create the emails through Outlook, but it still requires me to hit 'send' for each email. I'm wondering if there are any other solutions to automate sending these emails via M365 without having to go through my IT department.

4 Answers

Answered By UtilitarianKoala21 On

If Graph is out of the question, you could consider using a third-party SMTP service. It could simplify sending those emails without needing your IT's approval!

Answered By FrustratedButOptimistic7 On

Honestly, maybe just send the email requests to your IT team and their manager asking them to send the reports manually. That could be a way to highlight the inefficiency and push them to reconsider using Graph!

RealisticallyBored93 -

Yeah, right? They'll probably spend more time manually sending those emails and then bill you for it. It's a tough battle to fight!

Answered By SillyMonkey99 On

Sticking to Outlook command line hacks sounds rough! You might want to see if SMTP is open for you and consider using Nodemailer or a similar package. While Graph API is great, sometimes IT blocks things just because they sound complicated.

Answered By JollyPenguin42 On

If you're using an application for authentication, you might run into a security issue with the mail.send permission, as it allows your app to send emails as any user. That could be a red flag for your IT team!

CuriousTurtle88 -

You can actually set limits on that within Exchange. Check out the details on application RBAC to get more insights!

TechyFox12 -

Have you looked into using application policies in Exchange? That could help manage permissions better!

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.