Re: Need help sending emails.
Re: Need help sending emails.
- Subject: Re: Need help sending emails.
- From: "S. J. Cunningham" <email@hidden>
- Date: Sat, 27 Nov 2010 11:19:43 -0500
On Nov 27, 2010, at 8:16 AM, Jeff Gold wrote:
> I'm glad to hear you are having good luck with 24U Email OSAX, Bert.
>
> Perhaps we can stick with 24U Email OSAX a little longer and try to locate what is causing the issue.
>
> There are two ways we've tried running 24U Email OSAX, and each has caused numerous random crashes after about every 5 to 10 emails which are sent. The first way we tried was to activate the Applescript functions to send the email using the special Applescript commands built into the Panorama database software we use. This resulted in Panorama crashing about once for every 5 to 10 emails which were sent.
>
> After this, to prevent Panorama from crashing, we started having Panorama generate email sending scripts as text files which are saved to disk. We then have another AppleScript script running 24/7 monitoring a folder to see if there are any emails to send. If there are, it activates the scripts one by one.
A problem I have often had with controlling another application(s) with Applescript is there is usually no way to wait for the application to finish whatever you told it to do before continuing. This can cause race conditions or worse. Sounds like that may be a possibility with a script that just loops and sends the next email blindly. For example, if you send each email individually rather than filling up an outbox, delays might cause a problem which the Mail designers did not anticipate. Might be worth a look.
The bulk emailer I used had some nice features like contacting the target's mail server directly to validate the address before sending and handling failures, rejects, time-outs, etc.
Steve Cunningham _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden