Hello everyone !
Using EAGetMail 3.5
    Log.debug(String.Format("RemoveMail : about to remove email '{0}'", UNID))
     Infos = oClient.GetMailInfos()
     For Each mInfo As MailInfo In Infos
        If mInfo.UIDL = UNID Then
          Log.debug("-> EMail found")
          oClient.Delete(mInfo)
          Log.debug("-> EMail deleted")
          Exit For
        End If
      Next
      booResult = True
    Catch ex As Exception
      booResult = False
      Log.error(String.Format("RemoveMail : error removing email (UNID : {0})", UNID), ex)
    End Try
Log:
2020-09-20 15:07:17,342 [srv.source.POP] - DEBUG - RemoveMail : about to remove email '000067675820afc6'
2020-09-20 15:07:17,342 [srv.source.POP] - DEBUG - -> EMail found
2020-09-20 15:07:17,358 [srv.source.POP] - ERROR - RemoveMail : error removing email (UNID : 000067675820afc6)
-ERR There's no message 1.
This code works most of the time, but I sometime get this error: 
-ERR There's no message 1What does that error means?
What could cause it?
Thanks !
                      Edited by user
                       
5 years ago
 | 
Reason: Not specified