|I'm very unfamiliar with syntax for command lines - so unfamiliar I'm not even sure I've posted in the right place.|
I'm trying to send myself an email notification when I receive an error message from AllWay Sync backup software. It's listed under the program's Custom Actions, and asks me to enter the command line. It provides an example for sending an email.
Type the following command line in "On error" field:
sendmail -subj:synchronization_error_in_%js% -to:email@example.com -body:%errs%
where %js% is job number and %errs% is error message
I downloaded and extracted their suggested mail client called "Mailit". Included was MAILIT.exe and MAILTEST.BAT on my D drive
So I'm thinking mine would look something like this:
D:\PATH\MAILIT.exe -subj:synchronization_error_in_%New Job 1% -to:firstname.lastname@example.org -body:%my error message%
So I'm not sure of the following:
Am I even close? lol
Do I use the MAILIT.exe or MAILIT.BAT after I type my path?
Do I include the per cent signs, or is that just denoting where I place my job title and error message?
Does the job title have to match the programs job title or can I just call it whatever I want?
Similarly, does the error message have to match their error message or can I name it what I want?
Pretty noob questions, but I just don't know