SMTP Location script error

R

rusty105

I am running Entourage 2004 with the newly installed mac sp2 update on
a Powerbook G4. I take my computer between home and work so I am using
the SMTP Location scripts to automatically change my outgoing mail
servers. Everything seems to be working fine but I get an error
everytime the script runs

ERROR
Microsoft Entourage got an error:Can't set include in send and receive
all of Exchange account id 2 to false.

I have two pop accounts and and one imap account. I am only changing
the smtp settings for the POP accounts in the SMTP Location PREFS
script. Any ideas what might be giving me this error?
 
P

Paul Berkowitz

I am running Entourage 2004 with the newly installed mac sp2 update on
a Powerbook G4. I take my computer between home and work so I am using
the SMTP Location scripts to automatically change my outgoing mail
servers. Everything seems to be working fine but I get an error
everytime the script runs

ERROR
Microsoft Entourage got an error:Can't set include in send and receive
all of Exchange account id 2 to false.

I have two pop accounts and and one imap account. I am only changing
the smtp settings for the POP accounts in the SMTP Location PREFS
script. Any ideas what might be giving me this error?

The fact that you apparently also have an Exchange account. Exchange
accounts (in 2004) no longer participate in the Send & Receive All schedule
- they just sync automatically every 2 minutes or so. I'll have to update
the script for 2004 (odd that no one else has reported this yet: it may be
that "under the surface" this still was OK theoretically, even if the
schedule never actually did anything, until the SP 2 update: I believe that
this is probably part of the fix that stops the duplication of messages in
IMAP accounts that have Live Sync.)

In the meantime, you'll need to get rid of that supposed Exchange account.
You're sure there's nothing in Accounts/exchange? Do you perhaps have an
Exchange account set up as IMAP - maybe imported from a previous Entourage X
identity?

If not, you need to do a database rebuild - there's something wrong there.

If you get the error even after the rebuild, run this script in Script
Editor:


tell application "Microsoft Entourage"
delete every Exchange account
end tell


--
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.
 
R

rusty105

Everything works fine I just get an error that it cannot set the
exchange account to send & receive all. I tried everything you
mentioned and still get the error. It may just be because that is not
an option with exchange accounts in the update. I am selecting the
Exchange account to be excluded from changing any settings but it still
gives me the error.

Rusty
 
P

Paul Berkowitz

Probably. I'll have to look into that and update the script. Write to mw
next week (when I'll be back home) at the email address in the ReadMe of the
script.

--
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