Ga naar hoofdinhoud

Hoe automatisch alle e-mails die u in Outlook verzendt, bccen?

Als je een e-mailbericht verstuurt en je hebt een permanente geheime ontvanger, maar je wilt niet dat de andere ontvangers zijn of haar adres zien, dan moet je de bcc-functie gebruiken. Maar als we bcc nodig hebben, moeten we het bcc-veld handmatig weergeven en er een contact voor selecteren. Om deze handmatige bewerkingen te vermijden, zal het volgende artikel u laten zien hoe u Outlook kunt wijzigen om automatisch een e-mailadres te bccen voor alle e-mails die u verzendt.


Standaard automatische bcc in Outlook met behulp van VBA

U kunt onderstaande VBA-code toepassen om de automatische Bcc-regel in Outlook te configureren. Ga als volgt te werk:

1. druk de anders + F11 toetsen tegelijk om het venster Microsoft Visual Basic for Applications te openen.

2. Dubbelklik op het DezeOutlookSessiein het projectvenster en plak vervolgens onder VBA-code in het openingsvenster. Zie screenshot hieronder:

VBA-code: Auto bcc bij het verzenden van alle e-mails

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
    
    ' #### USER OPTIONS ####
    ' address for Bcc -- must be SMTP address or resolvable
    ' to a name in the address book
    strBcc = ""
    
    Set objRecip = Item.Recipients.Add(strBcc)
    objRecip.Type = olBCC
    If Not objRecip.Resolve Then
        strMsg = "Could not resolve the Bcc recipient. " & _
                 "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
    
    Set objRecip = Nothing
End Sub

Opmerking: Vervang de "" in bovenstaande code met het e-mailadres waarnaar u wilt bcc.

3. Sla de VBA-code op en sluit het venster Microsoft Visual Basic for Applications.

Vanaf nu hoeft u het adres in het Bcc-veld niet meer in te vullen. Wanneer u e-mail verzendt vanuit uw Outlook, wordt deze automatisch naar de gewenste ontvanger verzonden terwijl de VBA-code wordt uitgevoerd.


Auto bcc in Outlook met behulp van Kutools voor Outlook

De bovenstaande VBA-code is wat moeilijk en lastig voor ons beginners, hier is een eenvoudige en snelle tool - Kutools voor Outlook om u te helpen automatisch alle e-mails of gespecificeerde e-mails die u in Outlook verzendt, te bccen.

Kutools for Outlook: Ultieme Outlook-toolkit met meer dan 100 handige tools. Probeer het 60 dagen GRATIS, zonder beperkingen, zonder zorgen!   Lees verder...   Start nu een gratis proefperiode!

Ga als volgt te werk na het installeren van Kutools voor Outlook:

1. Klikken Kutools > Automatische CC / BCC > Regelmanager, zie screenshot:

2. In de Automatische CC / BCC-manager dialoogvenster, klik New knop.

3. Geef in de wizard Regels voorwaarden op waarop u e-mails wilt filteren. In mijn geval vink ik het aan met specifieke woorden in het lichaam optie en klik vervolgens op de onderstreepte tekst van specifieke woorden om het te bewerken.

4. Klik in het dialoogvenster Tekst bevat op het New knoop om nieuwe woorden toe te voegen.

5. Typ in het dialoogvenster Tekst zoeken een woord in het Nieuwe zoektekst vak, klik op het Toevoegen en klik vervolgens op de knop OK knop.
Tips: Om meerdere woorden tegelijk toe te voegen, moet u één woord in de Nieuwe zoektekst vak en klik op het Toevoegen en herhaal deze handeling om andere woorden een voor een toe te voegen, en klik ten slotte op de OK knop.

6. Nu gaat het terug naar het dialoogvenster Tekst bevat. Indien nodig kunt u verder klikken op het New om naar behoefte andere woorden toe te voegen en klik vervolgens op de knop OK om deze woorden op te slaan.
Tips: als u meerdere woorden tegelijkertijd in hetzelfde zoektekstvak toevoegt, is de relatie tussen deze woorden "EN". Als u meerdere woorden toevoegt door op de New knop achtereenvolgens is de relatie tussen deze woorden "OR".

7. Vervolgens keert het terug naar de wizard Regels, specificeert u andere voorwaarden die u nodig heeft en klikt u op het Volgende knop.

8. Geef in de tweede wizard Regels uitzonderingen op of vink geen uitzonderingen aan zoals u nodig hebt, en klik op de Volgende knop.

9. Typ in de derde wizard Regels een naam voor deze nieuwe Bcc-regel in het Regelnaam voer beschrijvingen voor de regel in het Regel notities vak, klik op het Ontvanger om Cc- of Bcc-ontvangers toe te voegen, vink de lopende opties aan in het Stel regelopties in sectie en klik op de OK knop.

10. Zorg ervoor dat in de Auto CC / BCC Manager de nieuwe Cc / Bcc-regel is aangevinkt en draai de OK-knop om het dialoogvenster te sluiten.

11. Ga je gang en klik op Kutools> CC / BCC> Schakel Auto CC / BCC in de hoofdinterface van Outlook in om de regel in te schakelen.

En klik op de OK knop in het pop-up herbevestigingsvenster.

Tot dusverre is de bcc-regel gemaakt, wanneer u een e-mail verzendt, wordt hetzelfde bericht tegelijkertijd naar de bcc-ontvanger verzonden.

Opmerkingen:
(1) Met deze functie kunt u de altijd instellen CC regels ook.
(2) U kunt naar behoefte meerdere regels maken door deze tool te gebruiken.
(3) Als u de regels wilt sluiten, klikt u op Schakel Auto CC / BCC in, en alle regels zullen niet werken. U kunt ook de naam van de regels in het Automatische CC / BCC-manager dialoogvenster om enkele gespecificeerde regels uit te schakelen.


Gerelateerd artikel:

Hoe kan ik mezelf altijd automatisch ccen in Outlook?


Beste Office-productiviteitstools

Kutools for Outlook - Meer dan 100 krachtige functies om uw Outlook een boost te geven

🤖 AI Mail-assistent: Directe professionele e-mails met AI-magie: met één klik geniale antwoorden, perfecte toon, meertalige beheersing. Transformeer e-mailen moeiteloos! ...

???? Email Automation: Niet aanwezig (beschikbaar voor POP en IMAP)  /  Plan het verzenden van e-mails  /  Automatische CC/BCC volgens regels bij het verzenden van e-mail  /  Automatisch doorsturen (geavanceerde regels)   /  Begroeting automatisch toevoegen   /  Splits e-mails van meerdere ontvangers automatisch op in individuele berichten ...

📨 email management: Gemakkelijk e-mails herinneren  /  Blokkeer zwendel-e-mails van onderwerpen en anderen  /  Verwijder dubbele e-mails  /  Uitgebreid Zoeken  /  Consolideer mappen ...

📁 Bijlagen ProBatch opslaan  /  Batch losmaken  /  Batchcompressie  /  Automatisch opslaan   /  Automatisch loskoppelen  /  Automatisch comprimeren ...

???? Interface-magie: 😊Meer mooie en coole emoji's   /  Verhoog uw Outlook-productiviteit met weergaven met tabbladen  /  Minimaliseer Outlook in plaats van te sluiten ...

???? Wonderen met één klik: Beantwoord iedereen met inkomende bijlagen  /   Antiphishing-e-mails  /  🕘Toon de tijdzone van de afzender ...

👩🏼‍🤝‍👩🏻 Contacten en agenda: Batchcontacten toevoegen uit geselecteerde e-mails  /  Splits een contactgroep in individuele groepen  /  Verwijder verjaardagsherinneringen ...

Over 100 Eigenschappen Wacht op je verkenning! Klik hier om meer te ontdekken.

 

 

Comments (53)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How to send mail BCC & recipient recieve mail with Dear <Recipient>
This comment was minimized by the moderator on the site
Confirming this works for Outlook 2020, I just have 1 issue. How can I auto bcc FROM multiple accounts? My work issues us (2) separate emails different domains. Currently, when I send an email from both, I get the copy to the email entered in the code. I would like separate copies from whichever email is sending it. Any solutions?
This comment was minimized by the moderator on the site
How to set it up auto bcc to multiple email addresses?
in outlook 2013 only had to add an additional line shown as below
strBcc = ""
strBcc = ""
But outlook 2016 only took 2nd line to add onto bcc.
This comment was minimized by the moderator on the site
Try Kutools for Outlook's Auto Bcc feature!
This comment was minimized by the moderator on the site
same problem here, do u have a solution so far?
This comment was minimized by the moderator on the site
The VBA code works great. Thanks, but what if I want to bcc still, but only when sending to one specific email recipient?
This comment was minimized by the moderator on the site
Great job guyz. Thank you . Worked for Outlook 2016 . Wonder how can i check the From to Field in order to autobcc only from one account. BR Chris
This comment was minimized by the moderator on the site
Works great all day in Outlook 2010. Next day, it stopped working. I followed the instructions that SILUVIA ZHOU gave about macro security (without having to re-do the script) and it appears to work again.
This comment was minimized by the moderator on the site
Hi. Works great for my laptop and office PC but after using it for about 1 day, or sending about 20+ emails, this feature just doesn't work anymore on both my desktop and laptop. Anyone can help me out? I'm using outlook 2010 and 2013. Thanks!
This comment was minimized by the moderator on the site
Nice, very useful for me, Thanks
This comment was minimized by the moderator on the site
Hi guys, I have tried this code and whilst it does work, it only CC's and not BCC's. I only want emails that contain Ref, REF or ref in the subject line to be BCC'd. Is anyone able to check that I have it constructed correctly please? ******* Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim Msg As Outlook.MailItem Dim onsMapi As Outlook.NameSpace Dim objRecip As Recipient Dim strMsg As String Dim res As Integer Dim strBcc As String If Item.Subject = "Ref" Then strBcc = "" ElseIf Item.Subject = "ref" Then strBcc = "" ElseIf Item.Subject = "REF" Then strBcc = "" End If Set objRecip = Item.Recipients.Add(strBcc) objRecip.Type = olBCC If Not objRecip.Resolve Then strMsg = "Could not resolve the Bcc recipient. " & "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 Set objRecip = Nothing End Sub
This comment was minimized by the moderator on the site
If the "ref" is the only thing in your subject, then it should work fine. Although I would make a few small changes. If you put "Option Compare Text" above your first line (outside the sub) then when you're doing the comparison for your "If" statement, upper and lower case letters will be considered the same. So ref=REF=Ref=rEf=REf, etc. Then you can simplify your conditional to: [quote]If Item.Subject = "ref" then strBcc = ""[/quote] Personally, I would also add an [else strBcc = ""] just to cover your bases. Now, if you want to BCC emails that contain "ref" anywhere in the subject, you can try: [quote]If instr(Item.Subject,"ref",1) 0[/quote] The instr method searches the subject for "ref" and returns a number representing the character in the subject where "ref" starts. If it doesn't find "ref", it returns a 0. A disadvantage of using this method is that you may get some false positives (e.g. the subject contains the word "prefer"). If you want all emails with subjects that start with "ref" with anything following it, then you can use the following: [quote]If instr(Item.Subject,"ref",1) = 1[/quote] This is the same as the last one, except instead of getting all emails whose subjects contain "ref" anywhere, you'll only get emails whose subjects contain "ref" that starts with the first character.
This comment was minimized by the moderator on the site
Can we make this work with sent items that have attachments.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations