steveald Posted July 11, 2016 Posted July 11, 2016 Don't get my hopes up like that! ;-) The quotes appear to simply be how Script Workspace notates the entry.
steveald Posted July 11, 2016 Posted July 11, 2016 That actually came from your InvoiceDemo.fp7 I referenced in my first post here. It works for the Save Records as PDF command, but not the Send Mail command (at least while With Dialog is set to Off).
bcooney Posted July 11, 2016 Posted July 11, 2016 http://help.filemaker.com/app/answers/detail/a_id/15733/~/mail-attachment-is-missing-when-trying-to-send-mail-using-filemaker-pro-on-os-x Is this relevant?
Wim Decorte Posted July 12, 2016 Posted July 12, 2016 16 hours ago, bcooney said: “file:$folderPath” Looks like it's in quotes! Should simply be $folderPath. Agreed: you can't use a calculation in these place, you just need to reference the variable. If the "file:" prefix is necessary you should include it when setting the variable.
comment Posted July 12, 2016 Posted July 12, 2016 9 minutes ago, Wim Decorte said: If the "file:" prefix is necessary you should include it when setting the variable. That is not necessary: file:$variable and even: file:$pathToFolder/$fileName are perfectly valid file paths.
steveald Posted July 12, 2016 Posted July 12, 2016 16 hours ago, bcooney said: http://help.filemaker.com/app/answers/detail/a_id/15733/~/mail-attachment-is-missing-when-trying-to-send-mail-using-filemaker-pro-on-os-x Is this relevant? This is indeed the answer. Pending a solution for the bug which FileMaker is aware of, the Send Mail script step can be used to send a message with an attachment if it is set to No Dialog and if you use the Send via SMTP Server option. Here are the directions for doing that: http://help.filemaker.com/app/answers/detail/a_id/6991/~/support-for-sending-mail-via-an-smtp-server-vs.-an-email-client The only potential downsides I see are: you need to know your email SMTP settings and you won't end up with copies of the emails you send in the Sent folder of your email program. Thanks everyone for your contributions.
Recommended Posts
This topic is 3323 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now