Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Send Email

Posted on 2012-04-03
5
Medium Priority
?
225 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:Moizsaif123
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:PagodNaUtak
ID: 37800648
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
 
LVL 4

Author Comment

by:Moizsaif123
ID: 37801047
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
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 1000 total points
ID: 37801806
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 37809667
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
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37810468
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question