No announcement yet.

Sending HTML mail via DOS

  • Filter
  • Time
  • Show
Clear All
new posts

  • Sending HTML mail via DOS

    Hi guys!

    I'm doing a small script that verify if the backup has been done. I have like 2-3 scheduled tasks on each server, and at the end of each I make a file to say it's done. At the end, one server takes the files, and verify if they are all there and at each if the file exist, it will add lines to a file in HTML so it will be easy to read (like Script BU_Server: Complete (in green) and if not completed in red).

    I use bmail.exe to send my email, but if I pu a file as body, even if the file is an HTML extension, it doesn't send an HTML mail.

    How can I send an HTML mail? Any other program doing it?


    Last edited by ChristTheGreat; 3rd August 2011, 21:26. Reason: The problem is solve

  • #2
    Re: Sending HTML mail via DOS

    Have you also tried blat.exe for sending the email. Send it as attachment.
    I always use blat.exe in scripting, but never tried html.

    MCITP sa, ea & va, [email protected]


    • #3
      Re: Sending HTML mail via DOS

      Cool, thanks I just tried Blat can send HTML email with the switch -html

      Thanks alot, now it's time to finish the code.