Announcement

Collapse
No announcement yet.

hs.mailtrigger not working - Fixed in HS3 .311

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    hs.mailtrigger not working - Fixed in HS3 .311

    I saw some other older threads on this, but I am hoping either I am doing something wrong, or there is a way around to do what I am looking to do. is hs.mailtrigger still broken in HS3? How are others parsing emails that are received? I get email alerts from my NVR that I want to parse out so I can get alerts when things are down.

    Here is the script I am testing with and it's output. It would seem I get the email #, but none of the data populates:

    Code:
    Class email_test
        Public Sub Main(ByVal parms As Object)
    
            Dim index As Integer
            Dim subject_line As String
            Dim from_line As String
            Dim Count As String
    
            index = hs.MailTrigger
            subject_line = hs.MailSubject(index)
            from_line = hs.MailFrom(index)
            Count = hs.MailMsgCount()
            hs.SetDeviceString(2305, subject_line, True)
            hs.WriteLog("Email Test", "Index: " & index & " From: " & from_line & " Subject:" & subject_line & " Unread: " & Count)
    
            'parse the body here and do what you want to do with the data
    
        End Sub
    End Class
    Code:
    Email Test 
    Index: 54 From: Subject: Unread: 55

    #2
    Hi Wayne,

    It's broken

    Please add your name to the list: http://bugzilla.homeseer.com/bugzill...ug.cgi?id=1500

    This has been my largest frustration with HS3 and with Rich since he stopped responding to the bugzilla, because "it works here".

    Cheers
    Al
    HS 4.2.8.0: 2134 Devices 1252 Events
    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

    Comment


      #3
      Originally posted by sparkman View Post
      Hi Wayne,

      It's broken

      Please add your name to the list: http://bugzilla.homeseer.com/bugzill...ug.cgi?id=1500

      This has been my largest frustration with HS3 and with Rich since stopped responding to the bugzilla, because "it works here".

      Cheers
      Al
      Disappointing... I have added my comments as well. Thanks Al.

      Comment


        #4
        As an FYI, this bug is resolved as of version 311!
        HS 4.2.8.0: 2134 Devices 1252 Events
        Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

        Comment

        Working...
        X