Announcement

Collapse
No announcement yet.

gmail send error

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

    gmail send error

    I'm running HS4 on an HS Zee S2: HomeSeer HS4 ZEE S2 (Upg from HS3ZS2) Edition 4.2.13.0 (Linux)

    I setup gmail in the Setup->Mail tab as follows:

    - Selected the Use Gmail checkbox
    - Enter my full gmail account: e.g. xxxxxxxxx@gmail.com
    - Created and entered an app password for my gmail account

    I created an event that sends an email but this is what I see in the log when the event occurs.

    Exception sending email via GMail (To:xxxxxxxxx@gmail.com, cc:, bcc:, Sub:Leak Sensor, Attach = Method 'System.Net.IPAddress.get_IsIPv4MappedToIPv6' not found.

    Any ideas what's causing this?

    Mike

    #2
    looks like an IPv4 to IPv6 mapping issue - is your ISP using IPV6 addresses?
    HS4Pro on a Raspberry Pi4
    54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
    Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

    HSTouch Clients: 1 Android

    Comment


      #3
      >>> looks like an IPv4 to IPv6 mapping issue - is your ISP using IPV6 addresses?

      Yes but the problem is not that it can't map the IP it's that it can't find the function that it wants to use to do the mapping: get_IsIPv4MappedToIPv6

      Comment


        #4
        It might help to update your version of mono, but that is somewhat risky in that it might break something.
        Maybe just call HST and ask them first.
        HS4Pro on a Raspberry Pi4
        54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
        Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

        HSTouch Clients: 1 Android

        Comment


          #5
          >>> It might help to update your version of mono

          That's not the problem but it's close.

          I looked in mono's System.dll and found the method is named get_IsIPv4MappedToIPv6, not get_IsIpv4MappedToIPv6 (the P in IP should be upper case, not lower-case as was shown in the error message)

          I checked in mono 4.2.0.5 on my HS Zee S2 and in mono 4.7.1 on my HS Pi G3; both with the same issue.

          I'll call support next week.

          Thanks

          Mike

          Comment


            #6
            Great catch!
            HS4Pro on a Raspberry Pi4
            54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
            Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

            HSTouch Clients: 1 Android

            Comment


              #7
              The problem was that when I upgraded my Zee S2 from HS3 to HS4, it doesn't update mono from 4.2.05 and HS4 emails don't like mono 4. I had to re-image the Zee with the latest HS4 and restore my configuration from backup.

              It's now running HS4 4.2.13.0 with mono 6.12.0.182 and, finally, successfully sends emails through gmail.

              Comment

              Working...
              X