Laurie Heineman

Forum Replies Created

Viewing 2 replies – 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: Email within TCL proc #82236
    Laurie Heineman
    Participant

      Thanks for your help, it works with the comma seperator.

      in reply to: Email within TCL proc #82232
      Laurie Heineman
      Participant

        Hi David,

        Here is part of the code. I hope this is what you need.

        Thanks, Laurie

        set body “$body”

                                 

                                 echo nEMAIL MESSAGE: $bodyn

                                       #Sending the email

                                        set cmd “exec cmd /C C:/blat/blat.exe -body $body -to $to -cc $cc -f $from -subject $subject -server $server”

                          echo “++++++++++++++++++++++++++++++++++++++++++++Counter File Email ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++”

                                       

                       

        if {[catch $cmd result]} {

                          echo “ERROR: An error occurred running “$cmd”.”

                             echo ”     Result was: $result”

                          }

                                     

                             echo “~~~~~~~~~~~~~~~~~~~~~~~ Done sending the counts to Radiology ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~”

      Viewing 2 replies – 1 through 2 (of 2 total)