Hi Lee,
On Apr 13, 2007, at 6:41 PM, Lee wrote:
Thank you for the responses.
I always develop on a mac then drop it onto my PC for last minute
checking before giving it to a client.
I already know the mac is a pain to direct email out of filemaker.
I work on a Mac (and a PC) and I don't find that the Mac is a *pain*
for sending email. It is fairly straightforward. What exactly are the
problems you encounter?
It works very easily out of the PC, however, I need to list a
number of existing fields down the page that is to be emailed. I
did see someone else's version of doing it with the digit that
looks like a 'q' with two other strange digits next to it which
seemed to create a line break.
Through a calculation you can easily combine multiple fields into the
one field that becomes the email message. If you need to
differentiate between the text in the various fields, insert a return
character (ΒΆ - the pilcrow) or two, found in the calculation dialog
symbols grouping, after each field.
And of course to automate the process, write a script that includes
the Send Mail script step.
If you need to allow the user to select from your list of fields,
that can be done with scripting and using a global field for the
field names they are selecting. Off the top of my head, I'd probably
choose to use a global repeating field with each of the field names
you want them to select from listed in a repeat. The user would click
on the names in the order they want to add the field name (and the
data) to the email. Your calculation would join the data with the
required spacing into the field (another global) that holds the
outgoing message. But there are many 'ways to skin this cat".
Another technique that would work well, if you need to allow the user
to enter text within the fields they choose, would be to use a merge
technique similar to the one John Mark Osborne demonstrates with his
custom form letter examples: <http://www.databasepros.com/FMPro>.
Look for custom form letters. His technique was written using FM6,
but is easily adaptable to 7 and beyond.
With regard to sending the same email to multiple addressees, that is
a choice in the Send Mail dialog -- which of course you can script.
And there are various ways to gather the email address using a
calculation.
Finally, if you need to store a copy of the sent mail within
FileMaker and/or retrieve email into FileMaker (using it as your mail
program), I can recommend Dacons mail.it3 plug-in. <http://
www.dacons.net/>. I have used their product on several projects and
it is very easy to implement, especially since they include a FM 7
template ready to go. You only need to *hook* it into your solution.
HTH,
Michele
I don't know how these other strange digits were created. The end
job is for a PC. If its easier I can cross develop this solution on
my PC for this exercise but I enjoy the Mac much better.
Lee Mills
Maarten Sjouw wrote:
Lee,
In this case the most important question is which platform you are
on?
I have no experience with the Mac but I know it's a lot easier there.
I use a method of writing the text to a file before sending the file
with a commandline mail util which I call from a command file on
windows.
To create the line separations just use the 'q|' sign that you can
find
on one of the buttons in the calculation defenition. Sometimes on
windows you will need to add a space after that to get it to show
properly though.
Regards, Maarten Sjouw.
-----Original Message-----
From: FileMaker Pro Discussions [mailto:FMPRO-
[EMAIL PROTECTED]
On Behalf Of Lee
Sent: vrijdag 13 april 2007 7:53
To: [EMAIL PROTECTED]
Subject: creating email field
Hi,
I would like to email direct from filemaker (8.5). For this I seem
to need to create a calculating field that will contain all the
information
set out in a letter format.
I'm having some trouble trying to create that field. It will
contain a number of existing fields, but I need to be able to
separate the appropriate information by line.
I'm hoping someone can help in this construction.
Also this information will need to be sent to multiple email
addresses.
Lee Mills
--
[Mac OSX 10.4.8 Intel Dual Core FMPA 8.5v1]
--
Michele Olson
FileMaker 7 Certified Developer
AppleSauce Productions, Inc.
Tel 218.327.2671