I use OpenPop.net to try to parse our links from all emails that are in the given mailbox. I found this method to get the whole message:
public static List<OpenPop.Mime.Message> FetchAllMessages(string hostname, int port, bool useSsl, string username, string password) {
Now I'm trying to skip every message, but I canβt figure out how to do this, I still have this for my button:
private void button7_Click(object sender, EventArgs e) { List<OpenPop.Mime.Message> allaEmail = FetchAllMessages("pop3.live.com", 995, true, "xxxxx@hotmail.com", "xxxxx"); var message = string.Join(",", allaEmail); MessageBox.Show(message); }
How would I scroll through each entry in allaEmail so that I can display it in a MessageBox?
user1213488
source share