I have a couple Mail scripts for processing spam messages, which involve creating and sending new messages to my spam filter. These all work fine and dandy, except when I go to quit Mail at which point a draft message version of the last message I had sent via the script pops up in a new message window as if it were waiting to be sent. If I send it and try to quit again, the next message I had sent pops up. Lather, rinse, repeat until all messages sent via the scripts have been resent. The only way around this is to force-quit Mail. If I do that, the messages do not reappear if I quit Mail again.
I'm just using the usual 'send' command in AppleScript, and they're being actually sent (I get responses from my spam software).
I've tried adding delays throughout the script but that has no effect.
Any ideas?
Thanks!
I'm just using the usual 'send' command in AppleScript, and they're being actually sent (I get responses from my spam software).
I've tried adding delays throughout the script but that has no effect.
Any ideas?
Thanks!