A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Auto BCC in Outlook 2007 ?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 9th 07, 06:15 AM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 4
Default Auto BCC in Outlook 2007 ?

Hello,

I've spent most of the evening trying to run an AUTO BCC VB code in
Outlook 2007. I tried the same code in Outlook 2003 and it worked
beautifully, but it will not work in Outlook 2007 (presumably due to
the Trust Center or whatever).

Any ideas on how to automatically get every email to send a BCC copy
to the email address of your choice?

The code I used was:

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As
Boolean)
Dim objMe As Recipient
Set objMe = ")
objMe.Type = olBCC
objMe.Resolve
Set objMe = Nothing
End Sub


This code was taken from:
http://www.outlookcode.com/d/code/autobcc.htm

Thanks for any suggestions!
--
* Posted with NewsLeecher v3.0 Beta 7
* http://www.newsleecher.com/?usenet
Ads
  #2  
Old January 9th 07, 09:16 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Auto BCC in Outlook 2007 ?


That code also works in OL07. Did you check the security settings already?
You could set a breakpoint at a line of code and see if the execution stops
there.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)


Am 09 Jan 2007 06:15:11 GMT schrieb InTaH :

Hello,

I've spent most of the evening trying to run an AUTO BCC VB code in
Outlook 2007. I tried the same code in Outlook 2003 and it worked
beautifully, but it will not work in Outlook 2007 (presumably due to
the Trust Center or whatever).

Any ideas on how to automatically get every email to send a BCC copy
to the email address of your choice?

The code I used was:

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As
Boolean)
Dim objMe As Recipient
Set objMe = ")
objMe.Type = olBCC
objMe.Resolve
Set objMe = Nothing
End Sub


This code was taken from:
http://www.outlookcode.com/d/code/autobcc.htm

Thanks for any suggestions!

  #3  
Old January 9th 07, 04:56 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 4
Default Auto BCC in Outlook 2007 ?

I did check the security settings - I couldn't find anything that
could be preventing it from executing.

At one point, I tried something and when I checked the sent items
folder, the address of my choice HAD been added to the BCC, but the
server simply did not send the email to the BCCed address (only to
the TO address).

Also, how would I go about adding a break point?

Any other ideas/suggestions?

Thanks for taking the time to reply Michael!
--
* Posted with NewsLeecher v3.0 Beta 7
* http://www.newsleecher.com/?usenet
  #4  
Old January 12th 07, 07:44 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Auto BCC in Outlook 2007 ?



Sorry, I couldn't test that earlier. I still have the Beta installed and
here it doesn't work at all. On sender site all seems to be ok but the BCC
doesn't get the message. Instead my To recipient gets the message twice.

Ken, do you know something about that?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am 09 Jan 2007 16:56:25 GMT schrieb int :

I did check the security settings - I couldn't find anything that
could be preventing it from executing.

At one point, I tried something and when I checked the sent items
folder, the address of my choice HAD been added to the BCC, but the
server simply did not send the email to the BCCed address (only to
the TO address).

Also, how would I go about adding a break point?

Any other ideas/suggestions?

Thanks for taking the time to reply Michael!

  #5  
Old January 12th 07, 03:10 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Auto BCC in Outlook 2007 ?

Beats me, the code works perfectly here. All I did was change the Bcc
address to one of mine. I sent an email to my dog and it was Bcc'd to the
address I had selected.

To set a breakpoint you would place the cursor on the line where you want
the breakpoint set and use F9 to toggle the breakpoint.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Michael Bauer [MVP - Outlook]" wrote in message
...


Sorry, I couldn't test that earlier. I still have the Beta installed and
here it doesn't work at all. On sender site all seems to be ok but the BCC
doesn't get the message. Instead my To recipient gets the message twice.

Ken, do you know something about that?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)


  #6  
Old January 12th 07, 05:41 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 4
Default Auto BCC in Outlook 2007 ?

Thanks for the reply guys. I really appreciate it!

Just for anyone else reading in, I figured it out with the help of a
forum. All I needed to do was -- once I lowered the macro security
settings in Outlook 2007, I failed to restart Outlook when testing
it. That was the difference maker =/ Works beautifully now with the
exact code I posted!

Thanks for the info for breakpoints - could come in use in the
future =)
--
* Posted with NewsLeecher v3.0 Beta 7
* http://www.newsleecher.com/?usenet
  #7  
Old January 13th 07, 08:27 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Auto BCC in Outlook 2007 ?



Thanks Ken. What a pure chance: In OL07 Beta it really didn't work.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am Fri, 12 Jan 2007 10:10:36 -0500 schrieb Ken Slovak - [MVP - Outlook]:

Beats me, the code works perfectly here. All I did was change the Bcc
address to one of mine. I sent an email to my dog and it was Bcc'd to the
address I had selected.

To set a breakpoint you would place the cursor on the line where you want
the breakpoint set and use F9 to toggle the breakpoint.

  #8  
Old January 13th 07, 08:28 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Auto BCC in Outlook 2007 ?



Now I'm very curious: How could the address have been added (as seen in the
SentItems) if the code didn't run at all?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am 12 Jan 2007 17:41:13 GMT schrieb InT :

Thanks for the reply guys. I really appreciate it!

Just for anyone else reading in, I figured it out with the help of a
forum. All I needed to do was -- once I lowered the macro security
settings in Outlook 2007, I failed to restart Outlook when testing
it. That was the difference maker =/ Works beautifully now with the
exact code I posted!

Thanks for the info for breakpoints - could come in use in the
future =)

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
auto bcc software recommendations Eddie Outlook - Installation 4 November 29th 06 07:20 PM
Auto BCC to a fixed address Proboscis Outlook and VBA 2 July 19th 06 08:36 AM
Automatic bcc in Outlook 2007 Beta Peter Saxton Outlook - General Queries 2 June 5th 06 08:33 PM
Outlook 2007 Beta2 is not auto-hyphenating phone numbers scawley Outlook - Using Contacts 2 May 21st 06 05:50 PM
Auto bcc or forward sent items with specified paramaters tollyboi Outlook - General Queries 1 January 10th 06 12:03 PM


All times are GMT +1. The time now is 07:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.