February 24, 200817 yr I am looking for an easy way to email a pdf from a filemaker layout using the email address from the record in one step. I do not need to save the pdf. I am sure there is an easy solution but I have not yet been able to figure it out. Thanks for any help Edited February 24, 200817 yr by Guest
February 24, 200817 yr How about 3 lines? On FileMaker 9 it is much easier, because there is a Get ( TemporaryPath ), which is the path to a special temporary items folder for FileMaker items. You don't really need to know where it is, because all its items are dumped when you restart the computer (I believe, can't check while writing this :-). This example is for FileMaker 9 only. It is possible in earlier versions, using similar, with AppleScript, or a fixed path in Windows. Email_PDF_from_Temp_9.fp7.zip
February 25, 200817 yr Author That looks great Fenton. Thanks for that. I don't understand all that the script does, but I should be able to utilize it easily enough.
February 25, 200817 yr Author Fenton, if I could trouble you a bit more. I don't need to have a subject field as all emailed pdf's will have the default "Invoice" as the subject line in the email (defined by the email to script step). I say this because I am not sure how the subject info relates to the Set Variable step. I am getting the message "$TempPDF could not be created on this disk, etc."
February 25, 200817 yr Are you using my file, as is? Do you see the Temp path (are you using FileMaker 9)? Do you have an email address in the To line? Are you using Apple Mail as your email client app? If you look at the Send Mail step in the script, you can put "Invoice" in the Subject box.
February 25, 200817 yr Author I played with it a bit more and was able to figure what it was doing so I could put it in my solution. Works great now! Thanks for all the help Fenton.
Create an account or sign in to comment