Note: The other languages of the website are Google-translated. Back to English
Mewngofnodi  \/ 
x
or
x
Cofrestru  \/ 
x

or

Sut i ychwanegu e-byst heb eu darllen at eich hoff ffolder yn Outlook?

Weithiau gall negeseuon e-bost heb eu darllen aros ymhlith nifer o negeseuon, er bod y Camre yn nodi nifer y negeseuon e-bost heb eu darllen, fel Mewnflwch (5), ni allwch eu darganfod ar unwaith. Mewn gwirionedd gallwch chi gasglu'r holl negeseuon e-bost heb eu darllen mewn hoff ffolder, gan wneud eich gwaith yn gyfleus ac yn gyflym.

Bydd y canllawiau canlynol yn eich helpu i gasglu'r holl negeseuon e-bost heb eu darllen i mewn i ffolder Mail Unread, a dangos y ffolder yn eich ffefrynnau.

Cam 1: Newid i olwg y Post trwy glicio ar y bost yn y Pane Llywio.

Cam 2: Creu ffolder chwilio newydd:

  1. Yn Outlook 2010/2013, cliciwch y Ffolder Chwilio Newydd botwm yn y Newydd grŵp ar y Ffolder tab.
  2. Yn Outlook 2007, cliciwch y ffeil > Newydd > Chwilio Ffolder.

Mewn gwirionedd mae yna ddull arall i greu ffolder chwilio newydd: de-gliciwch y Chwilio Ffolder yn Navigation Pane, a chliciwch ar y Ffolder Chwilio Newydd yn y ddewislen de-gliciwch.

Ac mae'r dull hwn ar gael ym mhob un o Microsoft Outlook 2007, 2010, a 2013.

Cam 2: Yn y blwch deialog Ffolder Chwilio Newydd, dewiswch ac amlygwch y Post heb ei ddarllen eitem, a chlicio OK.

Nawr an Post heb ei ddarllen ffolder yn cael ei greu ac yn dangos yn y cwarel llywio. Ac mae'r holl negeseuon e-bost heb eu darllen yn cael eu casglu i'r ffolder hon yn awtomatig. Unwaith y bydd neges e-bost heb ei darllen yn cael ei hagor, bydd yn cael ei thynnu o'r ffolder Unread Mail yn awtomatig.

Cam 3: Cliciwch ar y dde ar y Post heb ei ddarllen ffolder, a chliciwch ar y Sioe yn Ffefrynnau eitem yn y ddewislen clic dde.

Nawr mae'r ffolder Unread Mail wedi'i gopïo a'i ychwanegu at eich ffefrynnau ar frig Navane Pane.

Tip: Os ydych chi am ychwanegu pob e-bost heb ei ddarllen o'r holl gyfrifon at ffolder, gallwch chi wneud fel isod gamau:

1. Gwasgwch Alt + F11 allweddi i alluogi'r Microsoft Visual Basic ar gyfer Ceisiadau ffenestr. Ac yn the Prosiect pane, cliciwch Gwrthrychau Microsoft Outlook > ThisOoutlookSession, a'i gludo o dan y cod i'r adran dde.

Public WithEvents OlExplprer As Outlook.Explorer
Public WithEvents OlMailItem As Outlook.MailItem
Dim xSelMail As MailItem

Private Sub Application_NewMail()
   AddAllAccountsUnreadMailsToAFolder
   IniEvent
End Sub

Public Sub Initialize_handler()
    Set OlExplprer = Application.ActiveExplorer
    If OlExplprer.Selection.Count <> 0 Then
        Set OlMailItem = OlExplprer.Selection.Item(1)
    End If
End Sub

Private Sub OlExplprer_BeforeFolderSwitch(ByVal NewFolder As Object, Cancel As Boolean)

Dim xOlApp As Outlook.Application
Dim xNameSpace As NameSpace
Dim xMailItem, xSelMail As MailItem
Dim xTargetFld As Folder

On Error Resume Next

Set xOlApp = Outlook.Application
Set xNameSpace = xOlApp.GetNamespace("MAPI")

If NewFolder.Name = "Unread Mail" Then

    For Each xMailItem In NewFolder.Items
        
        If xMailItem.UnRead = False Then
        
            xMailItem.Delete
        
        End If
    
    Next

Else

    For Each xTargetFld In xNameSpace.Folders.Item(1).Folders

        If xTargetFld.Name = "Unread Mail" Then

            For Each xMailItem In xTargetFld.Items
                
                If (OlExplprer.Selection.Count <> 0) Then
                    
                    Set xSelMail = OlExplprer.Selection.Item(1)
    
                    If xSelMail.UnRead Then

                        xSelMail.UnRead = False
                        
                    End If
                
                End If
            Next
         
        End If
    Next
  
End If
    
Cancel = False

End Sub

Private Sub OlExplprer_FolderSwitch()

Dim xOlApp As Outlook.Application
Dim xNameSpace As NameSpace
Dim xMailItem As MailItem
Dim xAccountFld, xTargetFld, xSubFolder As MAPIFolder
Dim xObjItem As Object

On Error Resume Next
Set xOlApp = Outlook.Application
Set xNameSpace = xOlApp.GetNamespace("MAPI")

Refresh

If (OlExplprer.CurrentFolder.Name <> "Unread Mail") Then

    For Each xTargetFld In xNameSpace.Folders.Item(1).Folders

        If xTargetFld.Name = "Unread Mail" Then

            For Each xMailItem In xTargetFld.Items

                If xMailItem.UnRead = False Then

                    For Each xAccountFld In xNameSpace.Folders

                        For Each xSubFolder In xAccountFld.Folders

                            If (xSubFolder.Name <> "Deleted Items") And (xSubFolder.Name <> "Drafts") And (xSubFolder.Name <> "Outbox") And (xSubFolder.Name <> "Junk E-mail") Then

                                For Each xObjItem In xSubFolder.Items

                                    If xObjItem.Class = olMail Then

                                        If (xObjItem.Subject = xMailItem.Subject) And (xObjItem.SenderName = xMailItem.SenderName) And _
                                           (xObjItem.Body = xMailItem.Body) And (xObjItem.Attachments.Count = xMailItem.Attachments.Count) And _
                                           (xObjItem.SentOn = xMailItem.SentOn) Then
                                                
                                            xObjItem.UnRead = False

                                        End If

                                    End If

                                Next

                            End If

                        Next

                    Next

                End If

            Next

        End If

    Next

End If

End Sub

Private Sub OlExplprer_SelectionChange()

Dim xOlApp As Outlook.Application
Dim xNameSpace As NameSpace

On Error Resume Next
Set xOlApp = Outlook.Application
Set xNameSpace = xOlApp.GetNamespace("MAPI")

If (OlExplprer.CurrentFolder.Name = "Unread Mail") And (OlExplprer.Selection.Count <> 0) Then

    SelUnreadMailFld OlExplprer.CurrentFolder.Items, xNameSpace.Folders

Else

    If (OlExplprer.CurrentFolder.Name <> "Deleted Items") And (OlExplprer.CurrentFolder.Name <> "Drafts") And _
       (OlExplprer.CurrentFolder.Name <> "Outbox") And (OlExplprer.CurrentFolder.Name <> "Junk E-mail") Then
       
       SelOtherFld xNameSpace.Folders.Item(1).Folders
        
    End If

End If

End Sub

Sub SelUnreadMailFld(EMails As Outlook.Items, Flds As Folders)

Dim xMailItem As MailItem
Dim xAccountFld, xSubFolder As Folder
Dim xObjItem As Object
On Error Resume Next
For Each xMailItem In EMails 'OlExplprer.CurrentFolder.Items

    If xMailItem.UnRead = False Then

        For Each xAccountFld In Flds

            For Each xSubFolder In xAccountFld.Folders

                If (xSubFolder.Name <> "Deleted Items") And (xSubFolder.Name <> "Drafts") And (xSubFolder.Name <> "Outbox") And (xSubFolder.Name <> "Junk E-mail") Then

                    For Each xObjItem In xSubFolder.Items

                        If xObjItem.Class = olMail Then

                            If (xObjItem.Subject = xMailItem.Subject) And (xObjItem.SenderName = xMailItem.SenderName) And _
                               (xObjItem.Body = xMailItem.Body) And (xObjItem.Attachments.Count = xMailItem.Attachments.Count) And _
                               (xObjItem.SentOn = xMailItem.SentOn) Then

                                If xObjItem.UnRead Then

                                    xObjItem.UnRead = False

                                End If

                            End If

                        End If

                    Next

                End If

            Next

        Next

    End If

Next

End Sub

Sub SelOtherFld(Flds As Folders)
Dim xSelItem, xMailItem As MailItem
Dim xTargetFld As Folder
    
On Error Resume Next
If OlExplprer.Selection.Count <> 0 Then
      
    Set xSelItem = OlExplprer.Selection.Item(1)

    If xSelItem.UnRead = False Then

        For Each xTargetFld In Flds

            If xTargetFld.Name = "Unread Mail" Then

                For Each xMailItem In xTargetFld.Items

                    If (xSelItem.Subject = xMailItem.Subject) And (xSelItem.SenderName = xMailItem.SenderName) And _
                       (xSelItem.Body = xMailItem.Body) And (xSelItem.Attachments.Count = xMailItem.Attachments.Count) And _
                       (xSelItem.SentOn = xMailItem.SentOn) Then

                        xMailItem.UnRead = False

                    End If

                Next

            End If
        Next

    End If

End If

End Sub


Sub Refresh()
  
Dim xOlApp As Outlook.Application
Dim xNameSpace As NameSpace
Dim xTargetFld As MAPIFolder
Dim xAllUnreadMails As Integer

On Error Resume Next
Set xOlApp = Outlook.Application
Set xNameSpace = xOlApp.GetNamespace("MAPI")

xAllUnreadMails = AllUnreadMails()

For Each xTargetFld In xNameSpace.Folders.Item(1).Folders

    If xTargetFld.Name = "Unread Mail" Then

        If xAllUnreadMails <> xTargetFld.Items.Count Then
            
            AddAllAccountsUnreadMailsToAFolder
            
            Exit For
        
        End If
    
    End If
    
Next

End Sub

Function AllUnreadMails()

Dim xOlApp As Outlook.Application
Dim xNameSpace As NameSpace
Dim xAllUnreadMails As Integer

On Error Resume Next
Set xOlApp = Outlook.Application
Set xNameSpace = xOlApp.GetNamespace("MAPI")

xAllUnreadMails = 0
For Each xFolders In xNameSpace.Folders

   For Each xSubFolder In xFolders.Folders
   
     If xSubFolder.Name <> "Unread Mail" Then
     
     If (xSubFolder.Name <> "Deleted Items") And (xSubFolder.Name <> "Drafts") And (xSubFolder.Name <> "Outbox") And (xSubFolder.Name <> "Junk E-mail") Then

         For Each xObjItem In xSubFolder.Items
    
            If xObjItem.Class = olMail Then
    
               If xObjItem.UnRead Then
               
                 xAllUnreadMails = xAllUnreadMails + 1
    
               End If
    
            End If
         Next
         
        End If
     
     End If

   Next

Next

AllUnreadMails = xAllUnreadMails
End Function
doc yr holl newyddion mewn ffolder 1

 

2. Yna mewnosodwch Fodiwl newydd, a'i gludo o dan y cod i sgript y Modiwl.

Public Sub AddAllAccountsUnreadMailsToAFolder()
Dim xOlApp As Outlook.Application
Dim xNameSpace As NameSpace
Dim xFolders, xSubFolder As MAPIFolder
Dim xObjItem As Object
Dim xDelFld As Folder
Dim xUnreadMailFld, xOldUnreadMailFld As Folder
Dim xCopiedItem, xMailItem As MailItem

On Error Resume Next
Set xOlApp = Outlook.Application
Set xNameSpace = xOlApp.GetNamespace("MAPI")

For Each xOldUnreadMailFld In xNameSpace.Folders.Item(1).Folders
    If xOldUnreadMailFld.Name = "Unread Mail" Then
        xOldUnreadMailFld.Delete
        Exit For
    End If
Next

For Each xDelFld In xNameSpace.Folders.Item(1).Folders
    If xDelFld.Name = "Deleted Items" Then
        For Each xMailItem In xDelFld.Items
            xMailItem.Delete
        Next
        For Each xSubFolder In xDelFld.Folders
        'For i = xDelFld.Folders.Count To 1 Step -1
            xSubFolder.Delete
        Next
    End If
Next

Set xUnreadMailFld = xNameSpace.Folders.Item(1).Folders.Add("Unread Mail")
If xUnreadMailFld = nil Then
    Exit Sub
End If


For Each xFolders In xNameSpace.Folders

   For Each xSubFolder In xFolders.Folders
   
     If xSubFolder.Name <> xUnreadMailFld.Name Then
     
     If (xSubFolder.Name <> "Deleted Items") And (xSubFolder.Name <> "Drafts") And (xSubFolder.Name <> "Outbox") And (xSubFolder.Name <> "Junk E-mail") Then

         For Each xObjItem In xSubFolder.Items
    
            If xObjItem.Class = olMail Then
    
               If xObjItem.UnRead Then
                 
                 Set xCopiedItem = xObjItem.Copy
    
                 xCopiedItem.Move xUnreadMailFld
    
               End If
    
            End If
         Next
         
        End If
     
     End If

   Next

Next

IniEvent

End Sub

Public Sub IniEvent()
Dim xFld As ThisOutlookSession
Set xFld = ThisOutlookSession
xFld.Initialize_handler
End Sub
doc yr holl newyddion mewn ffolder 2

 

3. Rhedeg y cod a enwir AddAllAccountsUnreadMailsToAFolder. Yna rhoddwyd ffolder o'r enw pob e-bost heb ei ddarllen Post heb ei ddarllen.
doc yr holl newyddion mewn ffolder 3

tynnwch yr holl gysylltiadau dyblyg o un neu fwy o ffolderau cysylltiadau mewn rhagolwg

Weithiau, efallai y byddwn yn ychwanegu'r un cysylltiadau dro ar ôl tro, sut allwn ni dynnu'r cysylltiadau dyblyg o un neu fwy o ffolderau cysylltiadau? Kutools ar gyfer Rhagolwg's Duplicate Contacts gall swyddogaeth ddod o hyd i'r holl gysylltiadau dyblyg yn gyflym a'ch galluogi i dynnu neu uno cysylltiadau dyblyg yn seiliedig ar eich meini prawf penodol, megis dod o hyd i gysylltiadau dyblyg yn yr un enw llawn, yr un cyfeiriad e-bost gan un neu fwy o ffolderau cysylltiadau.    Cliciwch i gael 60 treial am ddim 60 diwrnod llawn!
doc dileu contatcs dyblyg
 
Kutools for Outlook: gyda dwsinau o ychwanegion defnyddiol Outlook, yn rhad ac am ddim i geisio heb unrhyw gyfyngiad mewn 60 diwrnod llawn yn y dyfodol.

Kutools for Outlook - Yn Dod â 100 o Nodweddion Uwch i'w Rhagweld, a Gwneud Gwaith yn Haws Osgach!

  • Auto CC / BCC yn ôl rheolau wrth anfon e-bost; Auto Ymlaen E-byst Lluosog yn ôl arfer; Ymateb Auto heb weinydd cyfnewid, a nodweddion mwy awtomatig ...
  • Rhybudd BCC - dangoswch neges pan geisiwch ateb popeth os yw'ch cyfeiriad post yn rhestr BCC; Atgoffwch Wrth Ymlyniadau ar Goll, a mwy o nodweddion atgoffa ...
  • Ymateb (Pawb) Gyda'r Holl Atodiadau yn y sgwrs bost; Ateb Llawer o E-byst mewn eiliadau; Auto Ychwanegu Cyfarchiad wrth ateb; Ychwanegu Dyddiad i'r pwnc ...
  • Offer Ymlyniad: Rheoli Pob Atodiad ym mhob Post, Datgysylltiad Auto, Cywasgu Pawb, Ail-enwi Pawb, Arbed Pawb ... Adroddiad Cyflym, Cyfrif Postiau Dethol...
  • E-byst Sothach Pwerus yn ôl arfer; Tynnwch y Post a Chysylltiadau Dyblyg... Yn eich galluogi i wneud yn ddoethach, yn gyflymach ac yn well yn Outlook.
tab kutools rhagweld kutools tab 1180x121
kutools rhagweld rhagolygon kutools ynghyd â thab 1180x121
 
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Alias · 4 years ago
    Very helpful.

    I have had this issue since last 4 months. It's resolved now.

    TQVM
  • To post as a guest, your comment is unpublished.
    Mike · 5 years ago
    I am having a slightly different problem. I have the Unread Mail Folder working okay, but it is not picking up all of my unread messages from emails accounts I just set up in Outlook 2010. Is there a way to add these new email addresses so that the unread mail goes into the Unread Mail folder?

    Gratefully, Mike
    .
    • To post as a guest, your comment is unpublished.
      Tom · 4 years ago
      Mike. Did you find a resolution for this? I have multiple outlook accounts and would like all my unread messages go to one folder. Rgds Tom
      • To post as a guest, your comment is unpublished.
        Sunny · 4 years ago
        Hello, see your questions, I have updated the article, now here are some codes can create a folder to put all unread emails of all accounts. You can come and have a look.
        • To post as a guest, your comment is unpublished.
          dash323 · 3 years ago
          I tried doing this, but the code crashed outlook for me.
          • To post as a guest, your comment is unpublished.
            Sunny · 3 years ago
            I have tried times, some times it cannot work, but never crashed outlook, sorry I cannot help you.
  • To post as a guest, your comment is unpublished.
    litte pp · 5 years ago
    nice, l look for long time
  • To post as a guest, your comment is unpublished.
    John Autry · 5 years ago
    I hope I get to reed my unred files
  • To post as a guest, your comment is unpublished.
    CD · 5 years ago
    This does not work in 2010 -
  • To post as a guest, your comment is unpublished.
    deepak · 6 years ago
    thanks ! it;s working now :-)
  • To post as a guest, your comment is unpublished.
    Gaetano · 6 years ago
    Super helpful, thank you
  • To post as a guest, your comment is unpublished.
    Rexx · 6 years ago
    Worked like a charm! Thanks a bunch.
  • To post as a guest, your comment is unpublished.
    WildWillie · 6 years ago
    Once you have selected 'show favorites' you can also drag and drop unread message into the favorute Folders box.
  • To post as a guest, your comment is unpublished.
    jamsheer · 6 years ago
    good job...
    thanks for the instructions
  • To post as a guest, your comment is unpublished.
    jamsheer · 6 years ago
    good job
    very helpful
  • To post as a guest, your comment is unpublished.
    Mohamed · 6 years ago
    Thank you. It was really helpful.
  • To post as a guest, your comment is unpublished.
    DL · 6 years ago
    Only shows unread for a particular inbox, no instructions for multiple inboxes :(
  • To post as a guest, your comment is unpublished.
    Princess · 6 years ago
    Nice site! a big help to unfamiliar people like me.
    Thank you very much extendoffice
  • To post as a guest, your comment is unpublished.
    Not Joe · 6 years ago
    Thanks, that is just what I was looking for
  • To post as a guest, your comment is unpublished.
    Harsha · 7 years ago
    Thank youz.. This works like a charm..
  • To post as a guest, your comment is unpublished.
    Guu · 7 years ago
    Great Tips! . Thanks
  • To post as a guest, your comment is unpublished.
    Qamar · 7 years ago
    Hello Friend,
    i follow the same and resolve my issue, its too much gud guide line,

    Thanks Friendzz
  • To post as a guest, your comment is unpublished.
    Vongsak Bounlom · 7 years ago
    Good tips, it's been really helpful
  • To post as a guest, your comment is unpublished.
    Meeshell · 7 years ago
    You made my day!!! And my life happier!! Thank you!! :lol:
  • To post as a guest, your comment is unpublished.
    Denzyl · 7 years ago
    Hello. Followed your instructions again (after lunch) and it worked like a charm.

    Thanks for posting.
  • To post as a guest, your comment is unpublished.
    Denzyl · 7 years ago
    Good afternoon,
    I have followed the procedures except that when I right-click the unread folder, the option to show in favourites is not there. I'm using Outlook 2010 with windows 7.
    Thanks.
  • To post as a guest, your comment is unpublished.
    Fayyaz · 7 years ago
    thanks you very much. :-)
  • To post as a guest, your comment is unpublished.
    Paramesh Korrakuti · 7 years ago
    Nice article, its a helped very nicely.
  • To post as a guest, your comment is unpublished.
    Sushil · 7 years ago
    Thanks!! solves a big problem I was having for 2 months now!!