2 Replies Latest reply on Jan 13, 2016 6:45 AM by RishiKhanna

    How to send an Attachment from Send Mail in Go 14

    RishiKhanna

      I was trying to make an attachment using send mail in fm go 14

       

      I read in a few places to use the Get(TemporaryPath) to get the temp location of the file,


      I tested this and I got the temp location as private/var/mobile/containers/data/applications/string of numbers and letters/tmp/s15

       

      If I want to use a container field to add a file/photo how can I send that through the send mail feature

       

      Thanks

        • 1. Re: How to send an Attachment from Send Mail in Go 14
          mikebeargie

          Why not just use the table::field in the attachment, instead of requiring a path?

           

          Otherwise, you would have to export the container to the temporary path first, then attach it, so you're saving a step by just attaching it directly as a field reference.

           

          FileMaker Go does not store container data in the filemaker go folder structure that we can see (temporary or documents path). If it's on the device, it's embedded where you can't access it by path, otherwise it's streaming down from a server folder store. The only way to place the content in a folder that's accessible is exporting it first.

          • 2. Re: How to send an Attachment from Send Mail in Go 14
            RishiKhanna

            I just tried that and it worked (sort of)

            It sent the attachment from the PC, but in File Maker I had to use the insert file, insert photo didn't work

             

            Insert File from what I can see is that if on the file you click the open in and choose file maker It will put in the file so that file maker can read it, is there a workaround to that to make it easier.