Vai al contenuto principale

Come eseguire automaticamente il bcc di tutte le email che invii in Outlook?

Quando si invia un messaggio di posta elettronica e si dispone di un destinatario segreto permanente ma non si desidera che gli altri destinatari vedano il suo indirizzo, è necessario utilizzare la funzione bcc. Ma quando abbiamo bisogno di bcc, dobbiamo mostrare manualmente il campo bcc e selezionare un contatto per esso. Per evitare queste operazioni manuali, il seguente articolo ti mostrerà come modificare Outlook in bcc automaticamente un indirizzo email su tutte le email che invii.


Bcc automatico predefinito in Outlook utilizzando VBA

È possibile applicare sotto il codice VBA per configurare la regola Bcc automatica in Outlook. Si prega di fare quanto segue:

1. premi il altro + F11 tasti contemporaneamente per aprire la finestra di Microsoft Visual Basic, Applications Edition.

2. Fare doppio clic sul file Questa sessione di Outlooknel riquadro Progetto, quindi incolla sotto il codice VBA nella finestra di apertura. Vedi screenshot qui sotto:

Codice VBA: Bcc automatico durante l'invio di tutte le e-mail

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

Nota: Si prega di sostituire il file "" nel codice sopra con l'indirizzo e-mail a cui vuoi bcc.

3. Salvare il codice VBA e chiudere la finestra di Microsoft Visual Basic, Applications Edition.

D'ora in poi, non è necessario inserire l'indirizzo nel campo Ccn. Quando invii un'e-mail dal tuo Outlook, verrà automaticamente bcc al destinatario desiderato mentre il codice VBA viene eseguito.


Ccn automatico in Outlook utilizzando Kutools per Outlook

Il codice VBA sopra è un po 'difficile e fastidioso per noi principianti, ecco uno strumento facile e veloce: Kutools per Outlook per aiutarti a bcc automaticamente tutte le e-mail o le e-mail specificate inviate in Outlook.

Kutools for Outlook: Toolkit definitivo di Outlook con oltre 100 strumenti utili. Provalo GRATIS per 60 giorni, senza limitazioni, senza preoccupazioni!   Leggi di più...   Inizia la prova gratuita ora!

Dopo aver installato Kutools per Outlook, procedere come segue:

1. Clic Kutools > CC/Ccn automatico > Gestore delle regole, vedi screenshot:

2. Nel Gestione CC/Ccn automatica finestra di dialogo, fare clic New pulsante.

3. Nella Creazione guidata regole, specifica le condizioni in base alle quali filtrerai le email. Nel mio caso, spunta il file con parole specifiche nel corpo opzione, quindi fare clic sul testo sottolineato di parole specifiche per modificarlo.

4. Nella finestra di dialogo Il testo contiene, fare clic su New pulsante per aggiungere nuove parole.

5. Nella finestra di dialogo Cerca testo, digita una parola nel file Nuovo testo di ricerca fare clic su Aggiungi pulsante, quindi fare clic su OK pulsante.
Suggerimenti:: Per aggiungere più parole contemporaneamente, è necessario digitare una parola nel file Nuovo testo di ricerca casella e fare clic su Aggiungi , quindi ripetere questa operazione per aggiungere altre parole una per una e infine fare clic sul pulsante OK pulsante.

6. Ora torna alla finestra di dialogo Il testo contiene. Se necessario, puoi continuare a fare clic su New pulsante per aggiungere altre parole di cui hai bisogno, quindi fai clic sul pulsante OK per salvare queste parole.
Suggerimenti: se aggiungi più parole contemporaneamente nella stessa casella di testo di ricerca, la relazione tra queste parole è "E". Se aggiungi più parole facendo clic su New successivamente, la relazione tra queste parole è "OR".

7. Quindi torna alla Creazione guidata regole, specifica le altre condizioni di cui hai bisogno e fai clic su Successivo pulsante.

8. Nella seconda Creazione guidata regole, specifica le eccezioni o non controllare le eccezioni di cui hai bisogno e fai clic su Successivo pulsante.

9. Nella terza Creazione guidata regole, digita un nome per questa nuova regola Ccn nel file Nome regola , inserisci le descrizioni per la regola nel file Note sulle regole fare clic su Destinatario pulsante per aggiungere destinatari Cc o Ccn, spuntare le opzioni di esecuzione nel file Imposta le opzioni delle regole sezione e fare clic su OK pulsante.

10. In Auto CC / BCC Manager, assicurati che la nuova regola Cc / Ccn sia selezionata e seleziona il pulsante OK per chiudere la finestra di dialogo.

11. Vai avanti per fare clic Kutools> CC / BCC> Abilita CC / BCC automatico nell'interfaccia principale di Outlook per abilitare la regola.

E clicca il OK pulsante nella finestra di dialogo di riconferma che si apre.

Finora è stata creata la regola bcc, quando si invia un'e-mail, lo stesso messaggio verrà inviato al destinatario bcc allo stesso tempo.

Note:
(1) Con questa funzione è possibile impostare sempre CC anche le regole.
(2) È possibile creare più regole in base alle proprie esigenze utilizzando questo strumento.
(3) Se vuoi chiudere le regole, puoi cliccare Abilita CC / BCC automaticoe tutte le regole non funzioneranno. Inoltre puoi deselezionare il nome delle regole nel file Gestione CC/Ccn automatica finestra di dialogo per disabilitare alcune regole specificate.


Articolo correlato:

Come eseguire automaticamente il cc me stesso sempre in Outlook?


I migliori strumenti per la produttività in ufficio

Kutools for Outlook - Oltre 100 potenti funzionalità per potenziare il tuo Outlook

🤖 Assistente di posta AI: E-mail istantanee professionali con la magia dell'intelligenza artificiale: risposte geniali con un solo clic, tono perfetto, padronanza multilingue. Trasforma l'e-mail senza sforzo! ...

???? Automazione di posta elettronica: Fuori sede (disponibile per POP e IMAP)  /  Pianifica l'invio di e-mail  /  CC/BCC automatico in base alle regole durante l'invio di e-mail  /  Inoltro automatico (regole avanzate)   /  Aggiunta automatica di saluto   /  Suddividi automaticamente le email con più destinatari in singoli messaggi ...

📨 gestione e-mail: Richiama facilmente le email  /  Blocca le email truffe per soggetto e altri  /  Elimina email duplicate  /  Ricerca avanzata  /  Consolidare cartelle ...

📁 Allegati ProSalvataggio in batch  /  Stacca batch  /  Comprimi in lotti  /  Salvataggio automatico   /  Scollegamento automatico  /  Comprimi automaticamente ...

🌟 Magia dell'interfaccia: 😊Più emoji carini e fantastici   /  Aumenta la tua produttività in Outlook con le visualizzazioni a schede  /  Riduci a icona Outlook invece di chiuderlo ...

👍 Meraviglie con un clic: Rispondi a tutti con gli allegati in arrivo  /   E-mail anti-phishing  /  🕘Mostra il fuso orario del mittente ...

👩🏼‍🤝‍👩🏻 Contatti e calendario: Aggiungi in batch contatti dalle email selezionate  /  Dividere un gruppo di contatti in singoli gruppi  /  Rimuovi promemoria compleanno ...

Al di sopra Caratteristiche 100 Attendi la tua esplorazione! Clicca qui per scoprire di più.

 

 

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