![]() |
|
#1
|
|||
|
|||
![]() 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? |
#2
|
|||
|
|||
![]() Quote:
![]() |
#3
|
|||
|
|||
![]()
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.
|
#4
|
||||
|
||||
![]()
I did test it on Outlook 2003, never used 2007.
|
#5
|
|||
|
|||
![]()
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. |
#6
|
|||
|
|||
![]()
MAtrix - great script! this really worked perfectly
|
#7
|
|||
|
|||
![]()
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 |
#8
|
|||
|
|||
![]()
hi frnds
i am unable to send the auto bcc with this macros can someone help me pls |
#9
|
|||
|
|||
![]()
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 |
#10
|
|||
|
|||
![]()
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 |
#11
|
|||
|
|||
![]()
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? |
#12
|
|||
|
|||
![]()
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! |
#13
|
|||
|
|||
![]() Quote:
Anyone reading this I would strongly advise leaving your macro security at its default level. |
#14
|
|||
|
|||
![]() Quote:
|
#15
|
|||
|
|||
![]()
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 |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |
![]() |
Chance | Outlook | 3 | 04-07-2006 07:06 AM |
Outlook Error Messages | cindyb214 | Office | 2 | 11-23-2005 06:13 AM |