Automate Send Message Now command in script executed by rule

B

Battle Brown

I want to automate receipt of faxes in Mac OSX with Entourage. Currently
the subject line of email containing the fax will say something like
FAX from 412 856 0000.pdf
when it is emailed out after receipt.

When the first receiving machine gets an email with fax from a particular
sender I want to automate using rules and scripts to automatically forward
or redirect that message to others.

Best as I can tell I can use a rule to screen the inbound email subject line
containing the sender's fax number, address the forwarded email outbound and
drop it in the Out box. So far so good. I prefer not to set up a send all
every 5 minutes or other high frequency schedule.

How do I use a script in the rule (or set things up in some other way) to
execute the Send Message Now command against the forwarded message (or if
necessary send all messages in the out box at the time the rule is applied)?

Thanks
Battle
 
B

Barry Wainwright

I want to automate receipt of faxes in Mac OSX with Entourage. Currently
the subject line of email containing the fax will say something like
FAX from 412 856 0000.pdf
when it is emailed out after receipt.

When the first receiving machine gets an email with fax from a particular
sender I want to automate using rules and scripts to automatically forward
or redirect that message to others.

Best as I can tell I can use a rule to screen the inbound email subject line
containing the sender's fax number, address the forwarded email outbound and
drop it in the Out box.
That is all correct
So far so good. I prefer not to set up a send all
every 5 minutes or other high frequency schedule.

Why not? If there is nothing to send, you weon't even notice the schedule
run.
How do I use a script in the rule (or set things up in some other way) to
execute the Send Message Now command against the forwarded message (or if
necessary send all messages in the out box at the time the rule is applied)?

The script is simple:

Tell app "microsoft entourage" to connect to pop account "myAccountName"

You can substitute 'imap account', 'exchange account' etc...
 
P

Paul Berkowitz

The script is simple:

Tell app "microsoft entourage" to connect to pop account "myAccountName"

You can substitute 'imap account', 'exchange account' etc...

Actually 'connect to' an account _downloads_ messages form that account. It
doesn't send anything. (It's like "Receive from" in the schedule.) The way
to send all (no matter what the account) is simply:

tell app "Microsoft Entourage" to send


That will send out all messages in the Outbox put there previously by "Send
Later".

--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 
Top