11-16-2012, 06:20 PM #1
- Join Date
- Apr 2012
- Last Active
Send Mail Windows Nuance & Workaround
The Send Mail script step in FileMaker can be a quick and easy way to send mail completed with data from your database system. It should be noted, however, that the script step works differently on a Windows OS vs a Mac OS. Neither work exactly as you would expect because they both require user interaction unless you use the SMTP configuration. Intriguingly, the Windows version functions even more unexpectedly.
On the Windows platform, once FileMaker creates the email in the email client, you then cannot interact with FileMaker at all until you Send or Delete the message from the email client. As you can imagine, this might be a problem for users who want to check an email against data in their system or who simply arenít ready to send the email yet.
There is a remedy.
Instead of using the Send Mail script step, use the Open URL script step with the Mailto URL scheme. The code for the URL scheme should look something like this (youíll notice that I set a variable for the email recipients and used global data entry fields for the subject and body):
"mailto:" & PRF__Preferences::g_Current_User_Email_Address & "?bcc=" & $emailList & "&subject=" & PRF__Preferences::g_Email_Subject & "&body=" & PRF__Preferences::g_Email_Body & ∂The Open URL script step will open up a new email message in the default client just as the Send Mail step does, thankfully though, it will not lock you into the email client on the Windows platform. Fabulous.
It is said that you can send multiple attachments with the Open URL statement. Tried it but havenít quite figured it out yet. Next post! :-)
email from FileMaker
Windows email error
FileMaker Windows Email Error
Send Mail Error
Send Mail Locks Up FileMaker
mailto URL scheme
11-17-2012, 01:01 PM #2
- Join Date
- Aug 2006
- New York and Nassau County, NY, USA
- FileMaker Version
- FM 10, FM 10 Server, FM 11, FM 12, FM 13, FM 13 Server
- Windows & Mac
- Skill Level
- Last Active
Re: Send Mail Windows Nuance & Workaround
I've never managed to send an attachment using Open URL, even a single attachment. I did not think it was supported! How do you do it? Can you give an example? e.g., mailto:soliant@soliantcomputing?subject=example&body=hello world&attachment=Macintosh HD/Users/soliant/Documents/filename.pdf ??
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By firstname.lastname@example.org in forum FileMaker Pro 11Replies: 3Last Post: 12-06-2010, 06:33 PM
By moondowg in forum FileMaker and E-mailReplies: 0Last Post: 10-19-2007, 02:24 PM
By HBMarlowe in forum FileMaker Pro 8.5Replies: 6Last Post: 04-25-2007, 09:23 AM
By davidkovacs in forum FileMaker Pro 8.0Replies: 5Last Post: 09-07-2006, 08:00 PM
By magir in forum FM IWP - Web Companion and Web PublishingReplies: 1Last Post: 08-06-2004, 05:26 PM