?
Solved

Send Email

Posted on 2012-04-03
5
Medium Priority
?
227 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Jorge
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…

593 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