Hi, you cannot use UIDL to delete the email directly like that.
Because UIDL is not persistent in POP3 protocol.
In POP3 protocol, you can only delete the email by index.
please see the following example:
    Dim infos
    infos = oClient.GetMailInfos()
    
    Dim i As Integer
    For i = LBound(infos) To UBound(infos)
        Dim info As EAGetMailObjLib.MailInfo
        Set info = infos(i)
        
        if info.UIDL = "your uidl" Then
        
          ' Mark email as deleted from POP3 server.
          oClient.Delete info
          Exit For
        End If
    Next
    oClient.Quit