Send Email

I want to create an app to send/receive emails through gmail and using vb.net windows form. So the smtp server name, username,password should all be set i assume. If gmail is the client to send the Email messages from then, the pop3 name would be associated with that of gmail.

I want to read these messages also so to extract info out of them.
LVL 4
Moizsaif123Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
PagodNaUtakCommented:
Sample on how to read emails in gmail using vb.net:

http://www.example-code.com/vbdotnet/pop3_gmail.asp

Sample on how to send emails in gmail using vb.net
http://www.codeproject.com/Articles/20546/How-to-Send-Mails-from-your-GMAIL-Account-through
0
 
Moizsaif123Author Commented:
iv implemented the second link on your post to send email using gmail as the smtp server


now im trying to read email from gmail and the link below does so in c# but i need in vb.net
Im assuming the Email reader reads from the starting mail in the inbox, is it possible to have read only specific mails...

http://revenmerchantservices.com/page/read-gmail.aspx
0
 
Moizsaif123Author Commented:
The first link on reading Email content through xml is a valid option. Is there a way to read the attachments onto the mail like will there be a attachment tag that would be loaded onto the xml and grabbed from there.
0
 
CodeCruiserCommented:
I don't know exactly but I think there would be an attachment tag with a URL to the actual file. Try writing xml to a file and inspect it to see if there is an attachment tag.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.