1 Reply Latest reply on Jun 2, 2017 7:32 AM by philmodjunk

    How to attach mixed filetypes to mail.

    hurstja

      L.S.

       

      The problem involves FMServer 15 / FMPro Advanced 15 / FMGo 15

       

      The app consists of a form that has to be filled out on the iPad by the customers employees when on the road.

       

      It has a simple layout that consists of fields for identification of the consumer and has also a number of containerfields where photos of the situation are taken.

       

      So far all is simple.

       

      When ready with the inspection they are supposed to immediately send the results to HQ and two other mail adrdresses.

       

      I used to send a PDF with the container fields showing.

       

      But, they want the contents of the container fields attached as full-size jpeg pictures to the mail.

       

      That's it. Simple one would say.

       

      Thanks for your ideas

       

      Jan

        • 1. Re: How to attach mixed filetypes to mail.
          philmodjunk

          GetContainerAttribute can return the file and file extension of a file in a container field.

           

          You can export the contents of the container field using that info to specify a path to the temporary folder that includes that file name.

           

          You can then use the $Path variable that you set in order to export the file to specify the file as an attachment to your email.