Automatic Bcc on all outgoing mail

  • Thread starter Stein Arild Strømme
  • Start date
S

Stein Arild Strømme

Is there a way to have all outgoing mail automatically Bcc-ed to a
given fixed e-mail address? Entourage 2004 11.2.1.

Thanks for any help,

SA
 
P

Paul Berkowitz

Is there a way to have all outgoing mail automatically Bcc-ed to a
given fixed e-mail address? Entourage 2004 11.2.1.

Thanks for any help,

Save this script in Script Editor, saving to ~/Documents/Microsoft User
Data/Entourage Script Menu Items/ folder. Name it "Add BCC \omB" to give it
a keyboard shortcut of option-cmd-B. (Check "About the Script Menu" in the
Help for instructions on setting a different shortcut.) And/or you can make
a schedule in Tools/Schedules to Run AppleScript (this script) to run every
1 minute. That will take care of it automatically as long as it takes you a
minute (on average 0 seconds) to write an email. Change the BCC name and
address as desired.



tell application "Microsoft Entourage"
activate
set myBCC to "\"Stein Arild Strømme\" <[email protected]>"
try
set theWindow to window 1
on error
return
end try
if class of theWindow is draft window then
set bccRecips to (BCC recipients of theWindow)
if bccRecips does not contain myBCC then
if bccRecips ‚ "" then set bccRecips to bccRecips & ", "
set BCC recipients of theWindow to bccRecips & myBCC
end if
end if
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.
 
S

Stein Arild Strømme

[Paul Berkowitz]

| On 2/22/06 11:26 AM, in article [email protected], "Stein Arild
|
| > Is there a way to have all outgoing mail automatically Bcc-ed to a
| > given fixed e-mail address? Entourage 2004 11.2.1.
| >
| > Thanks for any help,
|
| Save this script in Script Editor, saving to ~/Documents/Microsoft User
| Data/Entourage Script Menu Items/ folder. Name it "Add BCC \omB" to give it
| a keyboard shortcut of option-cmd-B. (Check "About the Script Menu" in the
| Help for instructions on setting a different shortcut.) And/or you can make
| a schedule in Tools/Schedules to Run AppleScript (this script) to run every
| 1 minute. That will take care of it automatically as long as it takes you a
| minute (on average 0 seconds) to write an email. Change the BCC name and
| address as desired.
|
|
|
| tell application "Microsoft Entourage"
| activate
| set myBCC to "\"Stein Arild Strømme\" <[email protected]>"
| try
| set theWindow to window 1
| on error
| return
| end try
| if class of theWindow is draft window then
| set bccRecips to (BCC recipients of theWindow)
| if bccRecips does not contain myBCC then
| if bccRecips ‚ "" then set bccRecips to bccRecips & ", "
| set BCC recipients of theWindow to bccRecips & myBCC
| end if
| end if
| end tell

Amazing. I see that I need to study Applescript. Thanks a lot!

SA
 
Top