You could use the Export Field Contents to send the file to a known location, with the file name you specify, and then the e-mail can collect it from there.
thanks. I tried this and filemaker did not like it. I had :-
as the path to export to but Filemaker did not like it saying there was a problem with one of the filepaths.
where $mail_attachment =Contact History::email attachment
which is defined as a container field.
Any thoughts ? thanks
Use a Custom Dialogue to show you the complete filepath just before it goes to get it. Then compare it with the construction of the file path you see in the explorer bar when you locate the file in Windows. That should show you if the syntax is wrong.
I would set $mail_attachment with the expression: "file:" & get(desktoppath) & Contact History::email attachment
Then use just $mail_attachment in the two file reference dialog boxes.
Thanks. I used Phil's version and it worked first time.
Kind regards to both of you.
I am trying to get something similar to work but no success. I may be over my head and did post in the filemaker to go forum but no response.
I would like to email an attachment using the contents of the container field. The container field is a thumbnail image. And I need to have this work in filemaker go.
Maybe someone can point me in the right direction.
I would suspect that I need to export the contents of the container field
Then use that as the attachement but not having done this I am lost..