hi,
Below is my code.
try
{
Pop3 pop = new Pop3();
pop.ConnectSSL("outlook.office365.com");
log("Opening POP : ");
pop.UseBestLogin("username","password");
List<string> TotalpopMail = pop.GetAll();
foreach (string uId in TotalpopMail)
{
pop.DeleteMessageByUID(uId);
}
pop.Close();
}
catch (Exception ex)
{
log(ex.message);
}
no exceptions, but mail is not deleting.
It was working for last 2 months, now it is not working.