Sending mails from a batch file only for the error output.I have a batch file with the CURL statement for the URLs.I want the URL status should be printed and sending mails for only the error like HTTP/1.1 503 service unavailable.
emails sending not required for the healthy URL and the status is HTTP/1.1 200ok.