Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2009, 08:53 AM
GeorgeCarvill GeorgeCarvill is offline
Novice
 
Join Date: Jan 2009
Posts: 2
GeorgeCarvill is on a distinguished road
Default Forwards and Replies


This is a nice macro and works well for me -- for original messages. But it does not appear to work for forwards or replies.

How can I change that?
Reply With Quote
  #2  
Old 01-06-2009, 09:23 AM
GeorgeCarvill GeorgeCarvill is offline
Novice
 
Join Date: Jan 2009
Posts: 2
GeorgeCarvill is on a distinguished road
Default Oops

Quote:
Originally Posted by GeorgeCarvill View Post
This is a nice macro and works well for me -- for original messages. But it does not appear to work for forwards or replies.

How can I change that?
Actually, it looks like the forwards and replies ARE coming, just coming later for some reason.
Reply With Quote
  #3  
Old 01-15-2009, 02:58 AM
BirdieMan BirdieMan is offline
Novice
 
Join Date: Jan 2009
Posts: 1
BirdieMan is on a distinguished road
Default Outlook 2003

Matrix, the script doesn't seem to work on Outlook 2003. Does it only work with 2007? I copied and pasted the script and changed the email address. When I send a message, there is no BCC. I ever commented out the "On Error Resume Next" to see if there would be an error, but there was not.
Reply With Quote
  #4  
Old 01-15-2009, 05:41 AM
Matrix's Avatar
Matrix Matrix is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows 10 Outlook: automatic BCC to another e-mail account for all sent messages Office 2010
Admin
 
Join Date: Jan 2005
Posts: 448
Matrix is on a distinguished road
Default

Quote:
Originally Posted by BirdieMan View Post
Matrix, the script doesn't seem to work on Outlook 2003. Does it only work with 2007?
I did test it on Outlook 2003, never used 2007.
Reply With Quote
  #5  
Old 07-03-2009, 11:40 AM
Mohammad Mohammad is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows XP Outlook: automatic BCC to another e-mail account for all sent messages Office 2007
Novice
 
Join Date: Jul 2009
Posts: 1
Mohammad is on a distinguished road
Post more than one account...

hi guys,

thank you very much for the great macro,
I'm wondering if there is a way to specify the From header that needs to be copied (Bcc'd).
I mean if I have more than one account, I want all emails that sent from the specific account to be Bcc'd, because I figured out this macro is coping all sent emails from all account I have.

much appreciated,

Last edited by Mohammad; 07-03-2009 at 06:34 PM.
Reply With Quote
  #6  
Old 10-22-2009, 02:21 AM
Tesseract Tesseract is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows XP Outlook: automatic BCC to another e-mail account for all sent messages Office 2007
Novice
 
Join Date: Oct 2009
Posts: 1
Tesseract is on a distinguished road
Default

MAtrix - great script! this really worked perfectly
Reply With Quote
  #7  
Old 06-29-2010, 11:48 AM
prroots prroots is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows 7 Outlook: automatic BCC to another e-mail account for all sent messages Office 2007
Novice
 
Join Date: Jun 2010
Posts: 10
prroots is on a distinguished road
Default

Hello Matrix:
I've tried and tried with Outlook 2007 running under Windows 7 (32 bit) to no avail. Your directions are clear and I've followed them to the letter, but emails go out without a bcc. Not sure if anything has changed since you wrote the macro.
Pete
Reply With Quote
  #8  
Old 07-09-2010, 03:32 AM
srinathchintu srinathchintu is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows XP Outlook: automatic BCC to another e-mail account for all sent messages Office 2003
Novice
 
Join Date: Jul 2010
Posts: 1
srinathchintu is on a distinguished road
Default

hi frnds
i am unable to send the auto bcc with this macros
can someone help me pls
Reply With Quote
  #9  
Old 09-27-2010, 12:42 PM
diver5050 diver5050 is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows 7 Outlook: automatic BCC to another e-mail account for all sent messages Office 2007
Novice
 
Join Date: Sep 2010
Posts: 1
diver5050 is on a distinguished road
Default Addition to the Solution

THIS WORKS - This is not going to make much sense, but where MS is concerned, will you be surprised?

IN ADDITION to creating the original suggested Macro, inside the same VBA session, select "Application" and then "Startup" from the dropdown. Some text will appear. Replace it with the following:

Private Sub Application_Startup()
MsgBox "Macros are enabled"
End Sub

I know. Some of you will immediately look at this code and say, "well that doesn't really do anything" But it does. Apparently, just telling Outlook that you want it to enable the running macros isn't always enough. Adding this, which triggers when the Outlook App is started, forces Outlook out of it's 'passive aggressive' nature.

If Macros are enabled, you'll simply see the message above ("Macros are Enabled") and move on. If they're not (which is likely the case for those of you having trouble running this), then you'll be prompted to "enable" or "disable". Click "enable", and you should be good to go.


Cheers,

AG

Last edited by diver5050; 09-27-2010 at 12:44 PM. Reason: formatting
Reply With Quote
  #10  
Old 09-28-2010, 12:35 AM
Joostdegrote Joostdegrote is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows 7 Outlook: automatic BCC to another e-mail account for all sent messages Office 2007
Advanced Beginner
 
Join Date: Sep 2010
Location: The Netherlands
Posts: 45
Joostdegrote is on a distinguished road
Default

Well.. I have a suggestion myself, and it DOESN'T have to do with an additional script.

Just use the script mentions on the last page, and (in outlook 2007) (i dont have 2003 anymore.. sorry for that)

Go to Extra>Makro's> Security. There go to the tab "Makro Security" Also i have a Dutch office 2007, so don't mind my rubish english. Myself I have the setting on "No Secrurity for all makro's (NOT RECOMMENDED). Most people would say that Warnings for all makro's are recommended. But with all my makro's, that's just not worth it.

Next select OK, and reboot outlook.

This SHOULD enable the makro.. Ofcourse you CAN add the script in the post above this one, to make sure it all works.

Hope this helps!

Joost
Reply With Quote
  #11  
Old 07-21-2011, 06:09 AM
desmofan desmofan is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows 7 64bit Outlook: automatic BCC to another e-mail account for all sent messages Office 2007
Novice
 
Join Date: Jul 2011
Posts: 1
desmofan is on a distinguished road
Default

Sorry to resurrect such an old thread.

I added this code, and it works, even after closing an reopening Outlook 2007. The problem however, is that it CCs, instead of BCCing. Any ideas?
Reply With Quote
  #12  
Old 10-26-2011, 03:09 AM
wangpanok wangpanok is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows XP Outlook: automatic BCC to another e-mail account for all sent messages Office 2003
Novice
 
Join Date: Oct 2011
Posts: 2
wangpanok is on a distinguished road
Default

my outlook2003 succeeded!
Writer, you forgot one thing!!! we should lowed the security level of macros and restart the outlook.

Select the menu "Tools |Macros |Security|

enjoy it!
Reply With Quote
  #13  
Old 10-26-2011, 05:28 PM
Softrix Softrix is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows 7 32bit Outlook: automatic BCC to another e-mail account for all sent messages Office 2007
Novice
 
Join Date: Sep 2011
Location: United Kingdom
Posts: 4
Softrix is on a distinguished road
Default

Quote:
Originally Posted by wangpanok View Post
my outlook2003 succeeded!
Writer, you forgot one thing!!! we should lowed the security level of macros and restart the outlook.

Select the menu "Tools |Macros |Security|

enjoy it!
I would strongly advise that any security especially macros is not lowered, its at a high level for a reason. If you refer to my instructions about creating a local self signed certificate then your macros settings can be left at their default levels.

Anyone reading this I would strongly advise leaving your macro security at its default level.
Reply With Quote
  #14  
Old 10-26-2011, 10:48 PM
wangpanok wangpanok is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows XP Outlook: automatic BCC to another e-mail account for all sent messages Office 2003
Novice
 
Join Date: Oct 2011
Posts: 2
wangpanok is on a distinguished road
Default

Quote:
Originally Posted by Softrix View Post
I would strongly advise that any security especially macros is not lowered, its at a high level for a reason. If you refer to my instructions about creating a local self signed certificate then your macros settings can be left at their default levels.

Anyone reading this I would strongly advise leaving your macro security at its default level.
Softrix, Thank you! your config is very great to be called automatic BCC. i use this way to save all my company emails into gmail and never worry the data loss.
Reply With Quote
  #15  
Old 05-25-2012, 07:55 AM
XopieX20 XopieX20 is offline Outlook: automatic BCC to another e-mail account for all sent messages Windows 7 64bit Outlook: automatic BCC to another e-mail account for all sent messages Office 2007
Novice
 
Join Date: May 2012
Location: Indiana
Posts: 9
XopieX20 is on a distinguished road
Default

Just to let everyone know I have solved this auto BCC issue. This is the code you need to use to auto BCC AND if you are using more than 1 box. If not, just use the IF code 1 time.

Private Sub Application_ItemSend(ByVal Item As Object, _
Cancel As Boolean)
Dim objRecip As Recipient
Dim strMsg As String
Dim res As Integer
Dim strBcc As String
On Error Resume Next


If Item.SentOnBehalfOfName = "THIS MUST BE THE DISPLAY NAME OF THE EMAIL" Then
strBcc = "BCC Email Goes Here"
End If

If Item.SentOnBehalfOfName = "THIS MUST BE THE DISPLAY NAME OF THE EMAIL" Then
strBcc = "BCC Email Goes Here"
End If

If Item.SentOnBehalfOfName = "THIS MUST BE THE DISPLAY NAME OF THE EMAIL" Then
strBcc = "BCC Email Goes Here"
End If

If Item.SentOnBehalfOfName = "THIS MUST BE THE DISPLAY NAME OF THE EMAIL" Then
strBcc = "BCC Email Goes Here"
End If

If Item.SentOnBehalfOfName = "THIS MUST BE THE DISPLAY NAME OF THE EMAIL" Then
strBcc = "BCC Email Goes Here"
End If

If Item.SentOnBehalfOfName = "THIS MUST BE THE DISPLAY NAME OF THE EMAIL" Then
strBcc = "BCC Email Goes Here"
End If



Set objRecip = Item.Recipients.Add(strBcc)
objRecip.Type = olBCC
If Not objRecip.Resolve Then
If res = vbNo Then
Cancel = True
End If
End If
Set objRecip = Nothing
End Sub
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook: automatic BCC to another e-mail account for all sent messages Having a Problem synching outlook to my google account Sneefus Outlook 1 08-20-2010 02:43 PM
Outlook Deleted Messages NS1981 Outlook 2 07-19-2010 06:25 AM
Sending Outlook account to gmail ? bwall Outlook 0 09-24-2006 07:24 PM
Outlook: automatic BCC to another e-mail account for all sent messages Remove Exchange Server E-Mail account from Outlook Chance Outlook 3 04-07-2006 07:06 AM
Outlook Error Messages cindyb214 Office 2 11-23-2005 06:13 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft