"Reply To" Settings in Entourage with a Gmail account

R

rbirkey

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel
Email Client: imap

Gmail has a feature where you can add additional email addresses to your Gmail account, to be handled by Gmail. This is found under "Settings" in the "Accounts" tab, with a link called "Add another email address."

I have a Gmail (IMAP) account that I have added two other email addresses to. This enables me to reply to an email sent to any one of the addresses, from any one of the email accounts... all handled through the Gmail servers. It's a very nice and handy feature.

I have also set up Entourage to access this Gmail account. The email for all three of the accounts come into this Entourage account, just like on the Gmail server. I can reply to any of the emails, and select any one of the three email addresses as the "reply-from" address.

WHAT I NEED TO KNOW is if there is a way to have Entourage automatically reply to an email, based upon the email address the email was sent to... instead of having to do that manually.

If an email was sent to (e-mail address removed), it is easy to have entourage reply using that same account. But what if I get an email from (e-mail address removed) (being handled by Gmail). Why can't Entourage sense this and when I hot reply, alreay select my "(e-mail address removed) address?

I have not yet been able to find a way to do this seemingly simple thing.
 
A

Adam Bailey

WHAT I NEED TO KNOW is if there is a way to have Entourage automatically
reply to an email, based upon the email address the email was sent to...
instead of having to do that manually.

You can do this with an AppleScript and an associated rule.

Open up your Script Editor (Applications > AppleScript) and paste in:

tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set account of theMsg to POP account "account" -- or POP
end tell

Change "account" to the NAME of your Account as it appears in Tools >
Accounts. And if this account is IMAP or Exchange, change the word "POP"
accordingly.

Save this Script anywhere - ideally the Entourage Script Menu Items folder
in your Microsoft User Data folder in your Documents folder.

Now create a Rule (Tools > Rules) that says something like:

Execute if all criteria are met

If Account Is (your Gmail account)
To Contains (your other email address)

Then Run AppleScript (the script you saved)

Note that the rule needs to be in the Mail (IMAP) tab if you have Gmail set
up as an IMAP account (which I believe is your only option).

I should add that I'm not sure if you can change the account designation for
a message living on an IMAP server, and it's not something I can quickly
test at the moment. I recommend testing this on some test messages before
you use it on a message you need to keep.
 
R

rbirkey

Adam, Thanks for your reply. I was not familat enough with Applescript to even know to try this.

So far I have not been able to get this to work.

Here's what I did:

My "Reply Rule" Applescript reads:
tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set account of theMsg to IMAP account "(e-mail address removed)" -- or
IMAP
end tell

My Entourage Rule reads:
Execute if all criteria are met
Account is (e-mail address removed)
Any to recipient contains (e-mail address removed)
Run Applescript (e-mail address removed)

I also have checked: Do not apply other rules to messages that meet these criteria.

I am getting a consistent error that reads:
While processing message "Message Name" (ID 133039), the rule "Reply Rule" could not be successfully executed. The script encountered error "Microsoft Entourage got an error: Can’t set account of incoming message id 133039 to IMAP account "(e-mail address removed) (IMAP)"."

Let me know if you have any suggestions.

Thanks.
 
R

rbirkey

One other thing... what would you do if I wanted it to handle another email account to potentially reply to, in addition to the two already in the script?
 
A

Adam Bailey

rbirkey said:
Adam, Thanks for your reply. I was not familat enough with Applescript to
even know to try this.

So far I have not been able to get this to work.

Here's what I did:

My "Reply Rule" Applescript reads:
tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set account of theMsg to IMAP account "(e-mail address removed)" -- or
IMAP
end tell

My Entourage Rule reads:
Execute if all criteria are met
Account is (e-mail address removed)
Any to recipient contains (e-mail address removed)
Run Applescript (e-mail address removed)

Are you forwarding your mac.com mail to gmail.com? If so you have this
wrong. The AppleScript needs to change the message FROM gmail.com TO
mac.com, so you want to specify the name of your mac.com account there.

Also make sure you're using the actual names of your accounts, not the email
address. The name is whatever appears at Tools > Accounts.

HOWEVER, I'm not sure this is a good idea if both accounts are IMAP
accounts. Have you considered/tried setting up your mac.com account as POP3
and just using a rule to move incoming messages into your Gmail Inbox?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top