I’m using an internal SMTP server to send myself an email when a certain sysadmin event occurs. However, I’d like to have a little more intelligence occur, so I’d like to be able to read the body of the email and do X or Y depending on the content.
At the moment, the email just gets sent, uses an open SMTP in our domain and I would just access said email via Outlook client. Is there any way to programmatically read an email? In this instance, we’re in Office 365.
submitted by /u/dverbern
[link] [comments]
The post Possible to read subject of an email via script? appeared first on How to Code .NET.