• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Function SendMaiTrig not work

    Mervis
    2
    6
    1316
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      msoenen last edited by

      Hello
      I configured the sendmailtrig function exactly like the help, but the system gives me a lot of errors

      https://www.dropbox.com/s/y76jb0dnhw1125w/ProgrammeUnipi.zip?dl=0

      https://www.dropbox.com/s/cxkb5lly8dtr566/Capture d'écran 2019-01-10 21.53.49.png?dl=0

      https://www.dropbox.com/s/dvf4toi76z35kxw/Capture d'écran 2019-01-10 09.56.36.png?dl=0

      thank for you help

      T 1 Reply Last reply Reply Quote 0
      • T
        tomas_hora administrators @msoenen last edited by

        Hello @msoenen,

        I just downloaded your project and the compilation works well. Is this really the same version as you have?

        1 Reply Last reply Reply Quote 0
        • M
          msoenen last edited by

          Hello

          There may be a small difference in version, but neither of them works
          in the other version I have encoded the variable data directly into the property screen of the function block, but in this case, the system does not return any error, but there is no reaction when activating the "send" entry

          What is the best solution? variables related to the function block, or values encoded in the function block?

          T 1 Reply Last reply Reply Quote 0
          • T
            tomas_hora administrators @msoenen last edited by

            @msoenen That is because Mervis is not able to use SSL/TSL connections to the SMTP servers. As Google describes here https://support.google.com/a/answer/176600?hl=en you have to use aspmx.l.google.com server in order to be able to send the email using an unencrypted connection but using this server you can only send the mail to Gmail/Gsuite users.

            1 Reply Last reply Reply Quote 0
            • M
              msoenen last edited by

              Hello
              I looked at this solution, but unless I'm mistaken, it requires a Google G-suite account, a domain name and the service is paid.
              everything seems very complicated to send an alarm

              is there no other way to transmit an alarm?
              via the scada? or via an android application?
              thank you in advance

              T 1 Reply Last reply Reply Quote 0
              • T
                tomas_hora administrators @msoenen last edited by

                @msoenen actually not, just test what I wrote in my previous post

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post