OutlookOnClickSender
Version 1.0
Description
This program sends pre-written messages via Outlook to prerecorded addressees.
Useful for basic notifications (shifts, errors in prod or other matters).
BTW, this program creates configs (.json files) in program's current location. So, you may be interested in relocating the exe to it's own directory.
Global changes
Security
Fixed security issue where hashtables were imported to program via Invoke-Expression which could cause an inclusion attack through config files modification.
Raw hash table changed to JSON
Now, instead of raw hash table, configuration files (boxlistsrc and mesg) contain JSON tables.
This changes how user should add new entries there. Instead of hash table format user should manually enter strings there in JSON format.
For example mesg.json now should look like this:
{
"1":"Arrived to shift\n\nJake Anderson\nIT Engineer | Contoso",
"2":"Ending shift\n\nJake Anderson\nIT Engineer | Contoso"
}
As you can see, line breaks are represented as \n instead of natural line break in old format.
Addressee table looks simpler:
{
"loopback":"[email protected]",
"sos":"[email protected]",
"boss":"[email protected]"
}
Summary
Finally, I decided that this program can proudly carry "Release" label. It doesn't mean that I'm done with this program.
I plan to add normal message and mailbox forming feature (QoL change).
Maybe, in some magic future I might even add GUI here.