Is there any way where we can send an email from command prompt in the batch job. We are using 3rd party utility to schedule DI jobs. There are more than 700 DI jobs which run daily. We need a mail to be sent if the job has failed. Please let us know if any one has used this.
We also can’t use any 3rd party exe as it is against security rule. Also it is not possible to modify all the jobs to use the DI mail functionality.
There’s no native Windows/DOS capability to send emails. BLAT is a quite common 3rd-party command-line email utility, but it sounds like that’s not an option.
You can execute it from the command line, not sure what you are trying to do.
Search on this forum for the specs and parameters, i’ve tested it and i can send emails from the command line, however i could not send attachments (i don’t know if you have to).