Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook 2003 autocomplete BCC

Status
Not open for further replies.

kokaina

Technical User
Feb 5, 2004
85
RO
Hello,
I have to make some setings for one of my clients.
He want, for every email that is sending to automaticaly send also to another email adress.( put in bcc, the second emal adress). I found some software that make this thing, but is not free. But I found also some script, but I don't know where I have to put this script to work. Some help, please?

This is the script that I found:
BCC 1
"Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim objRecip As Recipient
Dim res As Integer
Dim strBcc As String

' #### USER OPTIONS ####
' address for Bcc -- must be SMTP address or resolvable
' to a name in the address book
strBcc =

If res = vbNo Then
Cancel = True
Else
objRecip.Delete
End If
Err.Clear
Else
objRecip.Type = olBCC
objRecip.Resolve
If Not objRecip.Resolved Then
"Do you want still to send the message?"
res = MsgBox(strMsg, vbYesNo + vbDefaultButton1, _
"Could Not Resolve Bcc Recipient")
If res = vbNo Then
Cancel = True
End If
End If
End If

Set objRecip = Nothing
End Sub"

BCC 2

"Private Sub Application&ItemSend(By*Val Item As Object, Cancel As Boolean)
Dim obj.Me As Recipient
Set obj.Me = ItemRecipientsAdd("myaddress@mydomain.dom")
Set obj.Me = Nothing
End Sub"


 
Ok, thanks
But my question is, where I have to put this script to work?
In outlook, but where?
 
Would a shortcut on the Desktop that opens a blank email with the BCC field pre-addressed be an acceptable solution?


Regards: tf1
 
Does this have to be in the BCC field? IF you can place it in the CC filed you can use the Rules wizard to do this.

When frustrated remember, in the computer world there is almost always a backdoor.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top