Send SMTP Email

Version 2

     

    Script

     

    Compatibility
    Creator
    Mac OS X, Windows
    Todd Duell
    FMP 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ 1.17 megabytes
    http://www.formulationspro.com

    Description

    FileMaker Pro 10 delivers the ability to send email directly from a database to an email server using SMTP (send mail to protocol). FileMaker has had the ability to send email through the mail application residing on your computer (i.e. Mail, Outlook, etc.) for quite some time now. However, that has serious limitations. For example, if you were sending out a bulk email campaign to all your customers you would have to configure a special email account on your mail client otherwise all the emails would be sent out using your personal address. Nobody wants hundreds or even thousands of bounced emails coming back to their personal account. Although the new SMTP function is very powerful, it still does not support HTML email, nor does it provide a transcript of the SMTP server response for troubleshooting. If you really need to send HTML email you will still need a plugin. FileMaker's SMTP function also supports the latest SSL authentication standard when connecting to the email server. However, there are some services such as Google Mail, which require a specific SSL authentication called TLS. To date I have not had the opportunity to test whether FileMaker's SSL can connect to an email server using this standard. If you have to address this issue the good news is that you can use the demo database to very quickly determine if the new SMTP function will work for you. Although the new SMTP function is free, which always goes a long way in my book, you may find that using a plugin is still more convenient as well as far more versatile and configurable. Now, if we can convince FileMaker to include POP and/or IMAP functions we'd have a complete mail application built into FileMaker.

     


    Code

     

    Sample Input

    Sample Output


    Developer's Notes

    See sample file for full demo and technical article.

     


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.