Solved

Send Email

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SLMGR Switches Are Not Working On KMS Host 3 70
Round up to 100% in .NET 10 89
Events in static methods 3 50
Help with AsEnumerable(), LINQ 4 22
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

861 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

21 Experts available now in Live!

Get 1:1 Help Now