Re: Entourage question
Re: Entourage question
- Subject: Re: Entourage question
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 19 Sep 2005 11:56:39 -0700
- Thread-topic: Entourage question
On 9/19/05 11:14 AM, "McGill Bryan" <email@hidden> wrote:
> Hello. Wondering if anyone could PLEASE provide insight to this issue.
>
>
Hello, Bryan. I already wrote you an answer to this question that you sent
me privately, but it bounced back to me, the "mail delivery subsystem"
telling me that
" ----- The following addresses had permanent fatal errors -----
> <email@hidden>
> (reason: 550 5.7.1 Unable to relay for email@hidden)
"
Maybe something was wrong with your mail server at the time.
Here's what I wrote:
On 9/14/05 2:21 PM, "Mcgill Bryan" <email@hidden> wrote:
> If you have a quick sec, I was hoping to pose a question that has me
> stumped.
>
> Goal:
>
> Trying to add a BCC address to an outgoing message. For instance, an
> Entourage OUTGOING rule will detect if message meets certain criteria. If
> so, automatically add specific email address to the BCC, on the fly.
Outgoing Message rules are misnamed - their actually Outgone Message Rules.
The rule acts on the Sent copy after the message has left. There is no way
to intercept the Send button (if there were, serious viruses could be
created - at least that's what an Entourage developer told me). You have to
add the BCC to the draft window (new message window) before you send, That
can be done by a script run from a schedule every 1 minute - most email
messages take longer than a minute to write.
Just get my script "Add BCC or CC E" from
MacScripter.net <http://macscripter.net/scriptbuilders/>
Although written for Entourage 2001, it will work in X and 2004. You can
look at the script to see how it works.
>
> Problem:
>
> tell application "Microsoft Entourage"
>
> set myMsg to (current messages)
> set theMsg to item 1 of myMsg
>
> tell theMsg
> make new bcc recipient with properties {address:"email@hidden"}
> end tell
> End tell
>
> Error:
>
> "Microsoft Entourage got an error: A descriptor type mismatch occurred."
You can't make new recipients to existing encoded messages. You can only
make a recipient at the moment of inception of making an outgoing message
('make new outgoing message at drafts folder with properties {recipient:
etc.})
However you can easily set the 'bcc recipients' property of a draft window
open on the screen. You have to set the criteria for which messages get this
done in the script itself, since you can't run rules on draft windows. See
my script to see how it's done. (I think it's even possible that the little
trick with the progress window needed to "stimulate" the window to display
the new BCC in 2001 and X is no longer needed in 2004. Experiment with
commenting out that part of the script.)
>
> Question:
>
> Is there a way to change the address property of an outgoing message, after
> it's already been composed and user has clicked the Send button.
There isn't. That's one problem.
> Again the
> outgoing rule will check for triggers before it is actually sent and while
> in the Outbox.
No it doesn't. That's the other problem. It acts on the sent message copy
after the message has been sent.
>
> Thanks for any help!
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden