Here is an inelegant solution to the hung messages problem running Claris 
Emailer v2.0v3 under OSX 10.2 (Jaguar). As you may know, the problem 
under OSX is that messages received do not get fully processed until (1) 
you quit and restart Emailer or (2) you receive another message.

The workaround is to send a dummy message while checking your email. Then 
check mail again immediately. When the dummy message is received, the 
original messages (if any) finish processing and show up in the In Box. 
The next time mail is received, the dummy message is processed and 
deleted and another dummy message sent. There are two Applescripts as 
follows:


Applescript "OSX Read":

tell application "Claris Emailer"
set bodyvar to "Dummy Message."
    set addrVar to "[EMAIL PROTECTED]"
    set addrNameVar to "MyFirstName MyLastName"
    set subjectvar to "Dummy Message"
    make new outgoing message with properties -
        {subject:subjectvar, content:bodyvar, scheduled:true, 
recipient:{{address:{address:addrVar, display name:addrNameVar}, 
recipient type:to recipient, delivery status:unsent}}}
 connect to "America Online" with sending and checking
    connect to "America Online" with checking
end tell

As you can see, the script creates a message to send to you and puts it 
into the outbox. It connects to America Online, to send the message and 
any others you have created, then gets your incoming mail. The script 
immediately connects again and receives the newly created message. I have 
not tested this thoroughly. It may be that you must delay before checking 
for the dummy message. In today's testing, no delay was required.

The "OSX Read" Applescript should go into your Claris Emailer Folder as 
follows:
   Claris Emailer Folder:Support Files:Applescripts for Schedules.

Then in emailer create a new schedule called "OSX Read" choosing "Execute 
Applescript" and the "OSX Read" Applescript you just created (above). 
Then set the repeating schedule at the interval of your choosing.

That takes care of getting all incoming messages to show up. Next is the 
tidying up of the dummy messages which would otherwise clutter your 
inbox. 

Create the "TrashTheMessage" Applescript as follows:

tell application "Claris Emailer"
    set theMessage to the filtered message
    delete theMessage
end tell

Save this AppleScript in Claris Emailer Folder:Claris Emailer 
Files:Applescripts.

Now create a Mail Action called "Strip Dummy Message." Set the criteria 
to be: Subject is Dummy Message. Then set set Actions to Run Applescript 
"TrashTheMessage". This should go after any  last Mail Actions.

A simpler solution would be to set your schedule to get mail more often 
and just wait one interval for the mail to show up. I like this better. 
When I see mail being read, I want to read it NOW!

Let me know what you think of this approach. Better solutions are always 
appreciated!

- Charlie Stillman

___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]>  or  <[EMAIL PROTECTED]>

Reply via email to