Our Preferred 5 Star Hosting Provider - Award Winning FileMaker Pro Hosting
Results 1 to 2 of 2
  1. #1
    FREE Member
    Join Date
    Apr 2012
    Last Post
    Local Date
    Local Time
    05:15 AM
    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! :-)

    Send Mail
    Open URL
    email from FileMaker
    Windows email error
    FileMaker Windows Email Error
    Send Mail Error
    Send Mail Locks Up FileMaker
    mailto URL scheme

    Warning: This is an Old Thread
    This discussion is older than 420 days. information contained in it may no longer be current

  2. #2
    Senior Moderator - FMT Preferred Developer Consultant - New York - Worldwide AHunter3's Avatar
    Join Date
    Aug 2006
    New York and Nassau County, NY, USA
    FileMaker Pro Software
    FileMaker Advanced/Developer 14, 13, 12, 11, 10, 9. 8.8, 8, 7, 6, 5.5 FileMaker Pro 8, 7, 6, 5.5, 5
    Windows & Mac
    Skill Level
    Last Post
    Local Date
    Local Time
    07:15 AM
    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 ??

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can't send mail in Windows XP
    By djweisman@mac.com in forum FileMaker Pro 11
    Replies: 3
    Last Post: 12-06-2010, 06:33 PM
  2. Replies: 0
    Last Post: 10-19-2007, 02:24 PM
  3. Send Mail works in Mac OS but not in Windows
    By HBMarlowe in forum FileMaker Pro 8.5
    Replies: 6
    Last Post: 04-25-2007, 09:23 AM
  4. Send Mail fails inside a loop on Windows XP using Outlook Express
    By davidkovacs in forum FileMaker Pro 8.0
    Replies: 5
    Last Post: 09-07-2006, 08:00 PM
  5. Workaround for bug which converts mail subjects to lowercase?
    By magir in forum FM IWP - Web Companion and Web Publishing
    Replies: 1
    Last Post: 08-06-2004, 05:26 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Welcome to the Original FileMaker Forum
With designated forums for almost every FileMaker topic...FileMaker Today is a FREE to join community where you can boost your FileMaker expertise, build better apps & solutions and interact with over 43,000+ FileMaker Developers from all over the world. If you're building FileMaker solutions, this is the place for you.
Follow FMT
We Are FMT
FMT is home of The World's leading FileMaker News Site, Worldwide Developer Directory, FileMaker Connect Community and so much more.