Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Sending email using addresses in a Filemaker Pro database

Sending email using addresses in a Filemaker Pro database
Thread Tools
Fresh-Faced Recruit
Join Date: Feb 2000
Location: Sydney
Status: Offline
Reply With Quote
Jul 20, 2001, 08:41 PM
 
I volunteer my time to run the db/website of a charity. We send out a monthly newsletter by email. We have the email addresses plus other info
of the people who receive the newsletter in a FMP 5.0 database. There are various reasons why we have not set up a list server which I won't go into. I would like to send the monthly newsletter which I format in MS Entourage to all the email addresses stored in the FMP db.

I am new to scripting. Is there a way I can do this? Commercial plug-ins
are too expensive for us to purchase.

Thanks for any help.

Ilesh
     
Dedicated MacNNer
Join Date: Nov 1999
Location: Georgetown, Demerara, Guyana
Status: Offline
Reply With Quote
Sep 16, 2001, 01:38 AM
 
Hi Ilesh,

I beleive that it would indeed be possible to do this without the use of a commercial plug-in. For specific help with scripting FileMaker Pro via its own ScriptMaker language and/or via AppleScript, you could try searching or posting in the dedicated discussion lists/forums mentioned on the FileMaker Web Resources page. There might also be some relevant tips in ClickWare's free 101 FileMaker Pro Secrets collection (downloadable in the form of an FMP database). In addition, you could try searching the usual script archives for canned FMP and/or Entourage scripts -- e.g., MacScripter.net's ScriptBuilders and AppleScript Central.

If you can't find a complete FMP-to-Entourage script, or even two separate FMP & Entourage "half-scripts", then you'd need to plunge into the brave new word of scripting. :-) For a general introduction to the AppleScript language, see the links contained in the Apple script info thread in this Forum.

You could try exploring FMP's help system to guide you through the process of using ScriptMaker or AppleScript to extract the required email addresses. Also, try opening FMP via the standard Script Editor's 'File | Open Dictionary...' menu-item (or just drag FMP onto the Script Editor), to examine its scripting dictionary for any promising commands. With any luck, FMP might even have some kind of built-in "Send Mail" command that would greatly ease your task, or is capable of interfacing directly with Entourage! (I gather that, in recent years, Claris/FileMaker Inc. has been working hard to integrate FMP more-or-less seamlessly into the MS Office/Mac suite.)

In any event, do the same for Entourage (i.e., explore its help system and examine its scripting dictionary), to see what the possibilities are for bulk mailings. E.g., can Entourage interface directly with FMP, or easily import FMP data? Alternatively, can Entourage use any externally-supplied email addresses at all (i.e., addresses that don't come from its built-in address book), such as those extracted from FMP? If so, in what format can Entourage accept them (e.g., as an AppleScript list structure, or via a text file with one address per line, or ...)? Once that's resolved, it should be relatively easy to write an Entourage script, perhaps consisting of a repeat loop, to generate and send a message to each email address, where your newsletter constitutes the message's inline body or is sent along as an attachment.
Regards,

--Paul
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:09 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2