Hi,

What are the steps or code required for creating a email script in DOS. I.e, there are SQL codes to be run using BCP utility and SQLCMD in DOS and if anyone of the code fails a message should be automatically sent to a mail id and if the code run successfully a success message should be sent to the same mail id.

Thanks,
Saran.