[EMAIL PROTECTED] schrieb am 03.05.2006

>I could really use a Filemaker Pro script.  Are you willing to share?

Here it is:

-------------- begin scriot ---------------
tell application "FileMaker Pro"
        set new_address to cell "eMail Adresse" of current record
        set new_subject to cell "Betreff" of current record
        set new_content to cell "eMail Body" of current record
end tell


tell application "PowerMail"
        set msg to make new message with properties {subject:new_subject,
recipient:new_address, content:new_content}
        send msg
end tell
-------------- end scriot ---------------

You have to rename the followinmg:
eMail Adresse is a field in my database, which contains the Mail address
Betreff is a field in my database, which contains the subject
eMail Body is a field in my database, which contains the main body of the
message

This message passes on thge message to Powermail and sends it direct in
the background. You cannot add an attachement

Therefor I use a slightly different script:

-------------- begin scriot ---------------
tell application "FileMaker Pro"
        set new_address to cell "eMail Adresse" of current record
        set new_subject to cell "Betreff" of current record
        set new_content to cell "eMail Body" of current record
end tell


tell application "PowerMail"
        activate
set msg to make new message with properties {subject:new_subject,
recipient:new_address, content:new_content}
        end tell
    open msg
-------------- end scriot ---------------

Good luck, don't hesitat to ask, if it doesn't work

Regards

Florian Fürst

--

---------------------------
ff-musikbüro
Florian Fürst
Berlinickestr. 6
D-12165 Berlin
Tel. +49-30-56739940
Fax +49-30-56739941
mobil +49-179-9230923
eMail [EMAIL PROTECTED]
Website www.ffmusik.de
---------------------------





Reply via email to