How can I use IMAP commands in VB.net to get response from Gmail.com server?

后端 未结 1 1125
挽巷
挽巷 2021-01-16 10:49

I\'m using Visual Basic 2010 professional edition and I\'m working on a software that part of it is to get the [Inbox] E-mails, but I can not even get a response from the se

相关标签:
1条回答
  • 2021-01-16 11:26

    Every IMAP command needs to have a "Tag" prefixed in front of it, which is a random alphanumeric string you need to generate. Typically a login process looks like this:

    A001 LOGIN user password
    A002 SELECT INBOX
    A003 ...
    ...
    A010 LOGOUT
    
    0 讨论(0)
提交回复
热议问题