How do I add an email alarm to my batch file?
I am running SFWHA5.1sp2. I have a script that runs every morning with no problems. I would like to add a line at the end of the batch file that would send me a email and saying whether there were any errors. There is no email servers on my network and I was hoping to use port25/SMTP. I had someone tell my to use Blat but I have not been able to get it to work. Is there somthing already built into SFW that will do this?
This is what my script looks like.
vxassist -g AvMailDiskGroup remove Monday plex=Monday-01
vxassist -g AvMailDiskGroup snapback Monday
vxassist -g AvMailDiskGroup snapshot AvMailVolume plex=AvMailVolume-03 access=readonly DriveLetter=E Monday
vxassist -g AvMailDiskGroup mirror Monday