4 Replies Latest reply on Apr 3, 2017 6:28 PM by vavo

    FileMaker 15 error 1643

    JarelMiner

      I've just upgraded to FMP 15 and I have been using an email script to send an attachment through gmail.com, via SMTP, and I am receiving an error code 1634 ( "A certificate verification error occurred") which is new to FileMaker Pro 15.  The email script has worked perfectly with FileMaker 14, but not with FileMaker 15.   Any ideas how to resolve this so my e-mail will send?

        • 1. Re: FileMaker 15 error 1643
          philmodjunk

          I don't have an answer, but may be able to provide a clue: From other posts made here in the community, it appears that FMP 15 has added the ability to check and verify certificates which earlier versions did not do when sending out email via SMTP.

           

          So I'd research SSL certificates to see if there might be a reason for the error you are getting.

          • 2. Re: FileMaker 15 error 1643
            vavo

            I came across this post because I was dealing with the same issue, and might have a solution now.

             

            As philmodjunk suggested, this is an issue with Filemaker not accepting a SSL certificate installed on an email server. The key to working with that situation is how FM handles the process in a script:

             

            If Set Error Capture is on, this step is treated as cancelled and will always fail to send.

             

            If Set Error Capture is off, this step will warn the user, but allow to connect anyway (and remember this setting!). It will also tell you more about the certificate in question.

             

            Since I want error capture on I did the following:

             

            Set Error Capture (on)

            Loop

                Send Mail ()

                If (get (lasterror) = 1634)

                          set error capture (off)

                else

                          exit loop if (1)

                End If

            End Loop

            set error capture (on)

             

            This will return to the send mail step if it fails due to a certificate error, this time without error capturing. This will prompt the user to allow to connect anyway, exit the loop and continue with error capture on.

            If sending the email fails anyway, the user will be warned, but it is not possible to account for it in the script I believe. BUT, once the user has done this once and checked the "remember" checkbox, this error will go away and errors can be trapped for.

             

            Hope this helps whoever finds this!

            3 of 3 people found this helpful
            • 3. Re: FileMaker 15 error 1643
              maik.kr

              Any Idea how to solve this Problem for Sending Mails by PSOS from iOS ?

               

              edit:

              ok, i made a compromise.

              I turned SSL off, and changed the port to 25 with PlainPassword as Login method.

              • 4. Re: FileMaker 15 error 1643
                vavo

                if you install FMP on the server, run the script with the above mentioned loop once, the OS might remember your consent to the certificate and PSOS will work.

                 

                I have not tried this, but its worth a try...