April 26, 200421 yr Newbies I am trying to figure out a way to send the jpg in a container field as an attachement to an email. (The "attach file" button only allows you to select a file on the harddrive to send.) Can anyone think on a way to do this?
April 26, 200421 yr there are 2 ways about it: -embede images: copy-paste into email content -linked images: the same OR referenced of your web server so the questions are: Do u have a web sever? Are your images linked or embeded? or if u care less look into SMTPit pluing that will do alomst any mail verion u can think of.... good luck!
May 5, 200421 yr Author Newbies Thanks, but it is not possible to paste it. Filemaker restricts the message area to text only. The images are linked. I did try making the container field active, and then used the Get ( ActiveFieldContents ) in the message, but it just resulted in the name of the image in the container field. After more research, what I really need is a way to paste the filepath (which I have in a field already) into the attach file reference - but it only allows an actual file path. Is there a place I can change this, instead of the dialog box?
May 5, 200421 yr You need to export to a fixed name and location (File Reference, relative to the database file). Then attach and mail. It will be overwritten each time, but that would be a feature in this case. For PDF's on OS X, you can use the fact that you can print to PDF. Just do it once, to a fixed name and location, as above, then save the Page Setup and Print steps in a script. Could even be the same location, but you'd have to deal with the extensions somehow.
May 6, 200421 yr Author Newbies THANK YOU!!! It works perfectly, and I can actually create a page with the comapny logo on it instead of just sending the image. Perfect.
Create an account or sign in to comment