hello everyone. i'm wanting to write an application that will download a webpage using wget, parse the data with some regex, perform some analysis on the parsed data, and send an email to a predefined list of addresses with the results of the analysis.
I'm thinking this can probably be all done in bash for now. What i'm writing is a reverse line movement
analyzer and notification engine.
I have an idea for it all in my head but the portion about creating an email and sending it off is something I haven't had experience with previously. I know the sendmail application is available, but it is also highly vulnerable to attack as it has numerous and frequent critical security vulnerabilities. This is why I've decided to ask the forum, to ensure I have some experience behind the decisions that end up making the foundation of my program.
So whats the best way to fire off emails from bash (or python or perl as I might end up down that road if the project takes off) if the contents will just be text and some variables from the data analysis?