tcl proc for sending out email or beeper alerts

Homepage Clovertech Forums Read Only Archives Cloverleaf Tcl Library tcl proc for sending out email or beeper alerts

  • Creator
    Topic
  • #51132
    Donna McKibbon
    Participant

    does anyone know how to configure the Alerts to send out email or beeper alerts? 🙄

Viewing 3 reply threads
  • Author
    Replies
    • #68889
      Jim Kosloskey
      Participant

      Donna,

      What O/S are you using?

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #68890
      Donna McKibbon
      Participant

      Windows Server 2003   😆

    • #68891
      Sergey Sevastyanov
      Participant

      Donna

      If you are on CL 5.7 there is a built-in email alert action there

      In earlier versions you’ll have to use Tcl

    • #68892
      Troy Morton
      Participant

      Code:


      #
      # My Simpel Tcl Mail Proc
      #

      package require tclMail

      proc SendEmail { MyArgs } {

      set mailfrom “mymail@mailserver.com”
      set eamil “emailrecipient@mydomain.org”
      set mailmsg “This is a test email mesage from Cloverleaf”
      set mailsubj “Test email subject”
      set mailserver or
      set maildomain “mydomain.org”
      set authuser “myemailauthuser@mydomain.org”

      set mailarray(FROM) $mailfrom
      set mailarray(TO) $email
      set mailarray(MSG) $mailmsg
      set mailarray(SUBJ) $mailsubj
      set mailarray(SERVER) $mailserver
      set mailarray(DOMAIN) $maildomain
      set mailarray(USER) $authmailuser

      tclMail::SendMail mailarray

      }

Viewing 3 reply threads
  • The forum ‘Tcl Library’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,296
Replies
34,439
Topic Tags
287
Empty Topic Tags
10