PDA

View Full Version : bcc myself



v2009ba58
04-05-2009, 12:47 PM
Hi, my company deletes sent emails after 2 weeks, what is the best way to automatically bcc myself all mail I send. This way I thought I could create a rule to put all that mail in a certain folder that would not be deleted after 2 weeks.

I am using outlook 2007

thank you

mdmackillop
04-06-2009, 03:49 PM
Do you need bcc? It looks that this could be done just wih a rule.

v2009ba58
04-09-2009, 03:00 PM
Just set it up with a rule. Will let you know if it works. I am hoping the copied emails do not get deleted.

Charlize
04-10-2009, 07:13 AM
Just set it up with a rule. Will let you know if it works. I am hoping the copied emails do not get deleted.Create a local pst - file and every week you let the archive wizard do his thing ie. archiving e-mails that are 7 days old.

Charlize

v2009ba58
04-10-2009, 03:25 PM
we are unable to use archive

mdmackillop
04-11-2009, 02:42 AM
You may still be safer to use the rule to move the email to a personal folder.

Zack Barresse
04-11-2009, 01:19 PM
Besides a rule, which should work just fine, you can also use code...
Option Explicit

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
'http://www.outlookcode.com/article.aspx?id=72
Dim oRecipient As Recipient, sMsg As String
Dim res As Long, sBCC As String
On Error Resume Next
' #### USER OPTIONS ######################################
' address for Bcc -- must be SMTP address or resolvable
' to a name in the address book
sBCC = "someone@somewhere.dom"
' ########################################################
Set oRecipient = Item.Recipients.Add(sBCC)
oRecipient.Type = olBCC
If Not oRecipient.Resolve Then
sMsg = "Could not resolve the Bcc recipient. " & _
"Do you want still to send the message?"
res = MsgBox(sMsg, vbYesNo + vbDefaultButton1, _
"Could Not Resolve Bcc Recipient")
If res = vbNo Then
Cancel = True
End If
End If
End Sub
HTH