Solved

Send Email

Posted on 2012-04-03
5
219 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 250 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

815 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now