Skip i'r prif gynnwys

Sut i bcc yn awtomatig yr holl negeseuon e-bost rydych chi'n eu hanfon yn Outlook?

Pan fyddwch yn anfon neges e-bost a bod gennych dderbynnydd cyfrinachol parhaol ond nad ydych am i'r derbynwyr eraill weld ei gyfeiriad, dylech ddefnyddio'r swyddogaeth bcc. Ond pan fydd angen i ni bcc, mae'n rhaid i ni ddangos y maes bcc â llaw a dewis cyswllt ar ei gyfer. Er mwyn osgoi'r gweithrediadau llaw hyn, bydd yr erthygl ganlynol yn dangos i chi sut i addasu rhagolygon i bcc cyfeiriad e-bost yn awtomatig ar bob e-bost a anfonwch.


Rhagosodiad auto bcc yn y rhagolwg trwy ddefnyddio VBA

Gallwch wneud cais o dan god VBA i ffurfweddu rheol auto Bcc yn Outlook. Gwnewch fel a ganlyn:

1. Gwasgwch y Alt + F11 allweddi ar yr un pryd i agor ffenestr Microsoft Visual Basic for Applications.

2. Cliciwch ddwywaith ar y SesiwnOutlookyn y cwarel Prosiect, ac yna pastiwch islaw cod VBA i'r ffenestr agoriadol. Gweler y screenshot isod:

Cod VBA: Auto bcc wrth anfon pob e-bost

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

Nodyn: Amnewid y "" yn y cod uchod gyda'r cyfeiriad e-bost y byddwch yn bcc iddo.

3. Cadwch y cod VBA a chau ffenestr Microsoft Visual Basic for Applications.

O hyn ymlaen, nid oes angen i chi lenwi'r cyfeiriad ym maes Bcc. Pan anfonwch e-bost o'ch rhagolwg, bydd yn bcc yn awtomatig i'ch derbynnydd dymunol gan fod y cod VBA yn ei gyflawni.


Auto bcc yn Outlook trwy ddefnyddio Kutools ar gyfer Outlook

Mae'r cod VBA uchod yn rhywfaint o anodd a thrafferthus i ni ddechreuwyr, dyma offeryn hawdd a chyflym - Kutools ar gyfer Outlook i'ch helpu chi yn awtomatig bcc pob e-bost neu e-bost penodedig rydych chi'n ei anfon yn Outlook.

Kutools ar gyfer Rhagolwg: Pecyn cymorth Outlook Ultimate gyda dros 100 o offer defnyddiol. Rhowch gynnig arni AM DDIM am 60 diwrnod, dim cyfyngiadau, dim pryderon!   Read More ...   Dechreuwch Treial Am Ddim Nawr!

Ar ôl gosod Kutools ar gyfer Outlook, gwnewch fel a ganlyn:

1. Cliciwch Kutools > Auto CC / BCC > Rheolwr Rheol, gweler y screenshot:

2. Yn y Rheolwr Auto CC / BCC blwch deialog, cliciwch Nghastell Newydd Emlyn botwm.

3. Yn y Dewin Rheolau, nodwch yr amodau y byddwch yn hidlo e-byst ganddynt. Yn fy achos i, dwi'n ticio'r gyda geiriau penodol yn y corff opsiwn, ac yna cliciwch y testun wedi'i danlinellu o geiriau penodol i'w olygu.

4. Yn y dialog Cynnwys Testun, cliciwch y Nghastell Newydd Emlyn botwm i ychwanegu geiriau newydd.

5. Yn y dialog Testun Chwilio, teipiwch air yn y Testun Chwilio Newydd blwch, cliciwch y Ychwanegu botwm, ac yna cliciwch ar OK botwm.
Awgrymiadau: I ychwanegu geiriau lluosog ar yr un pryd, mae angen i chi deipio un gair yn y Testun Chwilio Newydd blwch a chliciwch ar y Ychwanegu botwm, yna ailadroddwch y llawdriniaeth hon i ychwanegu geiriau eraill fesul un, ac yn olaf cliciwch y OK botwm.

6. Nawr mae'n mynd yn ôl i'r ymgom Testun Yn cynnwys. Os oes angen, gallwch fynd ymlaen i glicio ar y Nghastell Newydd Emlyn botwm i ychwanegu geiriau eraill yn ôl yr angen, ac yna cliciwch ar y botwm OK i achub y geiriau hyn.
Awgrymiadau: Os ydych chi'n ychwanegu geiriau lluosog yn yr un blwch Chwilio Testun ar yr un pryd, y berthynas rhwng y geiriau hyn yw "ACOs ychwanegwch eiriau lluosog trwy glicio ar y Nghastell Newydd Emlyn botwm yn olynol, y berthynas rhwng y geiriau hyn yw "OR".

7. Yna mae'n dychwelyd i'r Dewin Rheolau, nodwch amodau eraill yn ôl yr angen, a chliciwch ar y Digwyddiadau botwm.

8. Yn yr ail Dewin Rheolau, nodwch eithriadau neu peidiwch â gwirio unrhyw eithriadau yn ôl yr angen, a chliciwch ar y Digwyddiadau botwm.

9. Yn y trydydd Dewin Rheolau, teipiwch enw ar gyfer y rheol Bcc newydd hon yn y Enw'r Rheol blwch, nodwch ddisgrifiadau ar gyfer y rheol yn y Nodiadau rheol blwch, cliciwch y Derbyniwr botwm i ychwanegu derbynwyr Cc neu Bcc, ticiwch opsiynau rhedeg yn y Gosod opsiynau rheol adran, a chliciwch ar y OK botwm.

10. Yn y Rheolwr Auto CC / BCC, gwnewch yn siŵr bod y rheol Cc / Bcc newydd yn cael ei gwirio, a cheiliwch y botwm OK i gau'r ymgom.

11. Ewch ymlaen i glicio Kutools> CC / BCC> Galluogi Auto CC / BCC ym mhrif ryngwyneb Outlook i alluogi'r rheol.

A chliciwch ar y OK botwm yn y dialog ail-gadarnhau popping allan.

Hyd yn hyn mae'r rheol bcc wedi'i chreu, pan fyddwch chi'n anfon e-bost, bydd yr un neges yn anfon at y derbynnydd bcc ar yr un pryd.

Nodiadau:
(1) Gyda'r swyddogaeth hon, gallwch chi osod y bob amser CC rheolau hefyd.
(2) Gallwch greu rheolau lluosog fel eich angen trwy ddefnyddio'r offeryn hwn.
(3) Os ydych chi am gau'r rheolau, gallwch glicio Galluogi Auto CC / BCC, ac ni fydd yr holl reolau yn gweithio. Hefyd gallwch ddad-dicio'r enw rheolau yn y Rheolwr Auto CC / BCC blwch deialog i analluogi rhai rheolau penodol.


Erthygl gysylltiedig:

Sut i cc fy hun yn awtomatig bob amser yn Outlook?


Offer Cynhyrchiant Swyddfa Gorau

Kutools ar gyfer Rhagolwg - Dros 100 o Nodweddion Pwerus i Werthu Eich Outlook

🤖 Cynorthwy-ydd Post AI: E-byst pro ar unwaith gyda hud AI - un clic i atebion athrylith, tôn berffaith, meistrolaeth amlieithog. Trawsnewid e-bostio yn ddiymdrech! ...

📧 E-bostio Automation: Allan o'r Swyddfa (Ar gael ar gyfer POP ac IMAP)  /  Amserlen Anfon E-byst  /  Auto CC/BCC gan Reolau Wrth Anfon E-bost  /  Awto Ymlaen (Rheolau Uwch)   /  Auto Ychwanegu Cyfarchiad   /  Rhannwch E-byst Aml-Dderbynnydd yn Negeseuon Unigol yn Awtomatig ...

📨 Rheoli E-bost: Dwyn i gof E-byst yn Hawdd  /  Rhwystro E-byst Sgam gan Bynciau ac Eraill  /  Dileu E-byst Dyblyg  /  Chwilio Manwl  /  Cydgrynhoi Ffolderi ...

📁 Ymlyniadau ProArbed Swp  /  Swp Datgysylltu  /  Cywasgu Swp  /  Auto Achub   /  Datgysylltiad Auto  /  Cywasgiad Auto ...

🌟 Rhyngwyneb Hud: 😊Mwy o Emojis Pretty a Cŵl   /  Rhowch hwb i'ch Cynhyrchiant Outlook gyda Golygfeydd Tabbed  /  Lleihau Outlook Yn lle Cau ...

???? Rhyfeddodau un clic: Ateb Pawb ag Ymlyniadau Dod i Mewn  /   E-byst Gwrth-Gwe-rwydo  /  🕘Dangos Parth Amser yr Anfonwr ...

👩🏼‍🤝‍👩🏻 Cysylltiadau a Chalendr: Swp Ychwanegu Cysylltiadau O E-byst Dethol  /  Rhannwch Grŵp Cyswllt i Grwpiau Unigol  /  Dileu Atgoffa Pen-blwydd ...

Dros Nodweddion 100 Aros Eich Archwiliad! Cliciwch Yma i Ddarganfod Mwy.

 

 

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