Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey guys,
i'm developing a program which conect to my company support mail, retrive all the customers calls and passing them to a data base, then the support desk handle them. i'm allready after the stage that read, decryped and passing the data. now, i want to delete the email beacause my program is working on a timer with 2 minuts interval and beacause i dont want to enter a duplicate call, i need to delete the email after been read.
the delete function needs to come after this code:
SQL
Index_Num = (ListBox2.SelectedItem + index).ToString()
StrRetr = ("RETR " + Index_Num + vbCrLf)
GetEmails(StrRetr)

the function GetEmails does all the work and i am saving a bunch of code for you. now, i need to delete it. after digging up the net, it seems that all the solutions comes with an endless function tight up one with another. any thaughts on how to delete the email will be halpful.
btw, i'm using winsock and the mail server is gmail :-)
thanks,
oron!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900