Getting body of an incoming Claris Emailer message
Getting body of an incoming Claris Emailer message
- Subject: Getting body of an incoming Claris Emailer message
- From: Christian Boyce <email@hidden>
- Date: Mon, 12 Mar 2001 21:23:48 -0800
I am having a hard time grabbing the body of an incoming Claris Emailer
message. I want to set up an Action to run a script that does some things
with the body of the message, but drat it all, I can only do things with
the body of messages that are already here.
I have tried...
tell application "Claris Emailer"
set themessages to the incoming messages
repeat with theMessage in themessages
set TheText to the content of theMessage
do stuff
end repeat
end tell
And I have tried...
tell application "Claris Emailer"
set themessages to every message in folder "this one" whose read status
is not "read"
repeat with theMessage in themessages
set TheText to the content of theMessage
do stuff
end repeat
end tell
But it doesn't work. I am sure there is an easy answer, along these lines:
tell application "Claris Emailer"
set themessages to the incoming messages of the incoming messages of
application "Claris Emailer"
end tell
or something like that but so far, no good.
In case you're wondering, I'm generating the incoming emails via a form
on a website, and I'm trying to make new appointments in Now Up-to-Date
based on the info contained in the body of those messages. This part I
can do, but not on the fly with incoming messages.
Thanks.
--
Christian Boyce
http://www.christianboyce.com
Home of the famous "BoyceCams"