views:

301

answers:

1

has anyone worked with gmail with vb.net?

how do i access my inbox and find emails that were sent from a specific person and send a reply to them?

i have a list of people with whom i keep in touch with from school and since i have not replied to them in a while, i would like to feed a list of email addresses into the program that would then find emails from those people and it would reply to those emails

+1  A: 

You can use .Net's built-in SmtpClient class to send email. To send using GMail, use the following configuration:

Dim smtp as New SmtpClient

smtp.Credentials = New NetworkCredential("[email protected]", "your password")
smtp.Port = 587
smtp.UseSsl = True

To read email, you'll need to find a .Net library for POP or IMAP; Google it.

SLaks