Hey i use BulkMailDownload, this is the code i use:
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I set "ture" to delete emails but wont delete them.
Settings to my gmail :
Auto-Expunge on - Immediately update the server.
Also tried with POP3 Settings and configurew gmail properly but still wont delete the emails.
Is there any way to make this work?
Else how could i force it to download only unread emails?
								
			
				Код:
			
		
		
		Tuple<string, string, string, string>[] allMails;
allMails = ZennoPoster.BulkMailDownload(project.Variables["Email"]. Value,
       project.Variables["EmailPass"]. Value, "imap.gmail.com", 993, true,
       ZennoLab.InterfacesLibrary.Enums.Email.EmailProtocol.IMAP,
       24*100, 1000, true);
// loop fo all messages
foreach(Tuple<string, string, string, string> tuple in allMails)
{
    // adding messages to the table called Tabl1
    // tuple.Item1 - sibject, tuple.Item2 - from, tuple.Item3 - html message, tuple.Item4 - text message
       List<string> tmp = new List<string>();
       tmp.Add(tuple.Item4);//body of the text message
       project.Tables["Table1"].AddRow(tmp);
}I set "ture" to delete emails but wont delete them.
Settings to my gmail :
Auto-Expunge on - Immediately update the server.
Also tried with POP3 Settings and configurew gmail properly but still wont delete the emails.
Is there any way to make this work?
Else how could i force it to download only unread emails?

 
 
		