Re: Scripting Entourage to Send Mail in Chunks??
Re: Scripting Entourage to Send Mail in Chunks??
- Subject: Re: Scripting Entourage to Send Mail in Chunks??
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 10 Jul 2002 12:50:30 -0700
On 7/10/02 12:16 PM, "email@hidden" <email@hidden> wrote:
>
I THINK what I ultimately need this to accomplish is for Entourage to
>
completely drop/stop/halt/whatever the current SMTP connection with Earthlink
>
(my ISP). That way, hopefully Yahoo will recognize the "fresh" connection as
>
just that, and hopefully not do its "reset" thing and delay/bounce my mail 4
>
days later. However, when I run this in Entourage, the mail sends more
>
slowly, like it does pause a bit, but the Progress window is indicating that
>
the connection is still maintained, and that continues to be the case until
>
all the messages in my Outbox are gone. I need to somehow just drop the
>
connection entirely then start anew midcount. I'm looking in the
>
dictionaries but not seeing that. Short of quitting the application and
>
restarting it a jillion times, is there another way to accomplish this? :)
If the script doesn't pick up until after 'connection in progress' is
finished, then Entourage has stopped checking mail. For some reason, yahoo
itself must be sluggish about dropping its connection with your internet
connection (as opposed to Entourage). It may be inept, or it may be by
design. Do you use PPP dialup? It could be related to PPP.
There is no way for Entourage to find out more information about whether
Yahoo thinks the connection is still open. As far as Entourage is concerned,
it's dead, or it wouldn't continue on. I had a very well-used script for
controlling the Progress Window in OE and Entourage 2001, using the same
technique of 'connection in progress' and no one ever complained it went
wrong or timed badly. So Yahoo must be doing this all on its own.
The best I'd suggest would be two things:
1) Just to see if this works, try
connect to POP account "My Yahoo Account" -- or whatever it's called
That should initiate a new connection (checking for mail). But Yahoo might
object saying it's still connected, or there may be limits on how many times
per hour you can check for mail. Still, it's worth a try
2) Instead of 'delay 200', run this script as a stay-open application
instead of as a compiled script from the Entourage script menu. (You can
have a secondary script in the script menu that tells the applet to run or
reopen.) If it's stay-open application, then it can have an idle handler.
This starts to get complicated.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.