[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 692
  • Last Modified:

sending and receiving emails in vb.net

I know how to send email in VB.Net through SMTP. Is there any way that i can save emails in some kind of format may be text or pdf or image. Can any one help me with this or send the links where i can look into. Also can some tell how can i open attachments or save attachments in an email received through VB.Net
Thanks
0
raghu11
Asked:
raghu11
  • 2
  • 2
1 Solution
 
JarodtweissCommented:
To save mails ? the mail you send ?
There are a simple way. The mail is an object (MailMessage) and so you can easily serialize it with an XmlSerializer into a file

And to get mail, nothing has been implemented. You have to work directly with Sockets and to decode the mail format.
I have a very intersting link at work... if you can wait till monday...
0
 
raghu11Author Commented:
Yes Please. I can wait. Appreciate your help
0
 
raghu11Author Commented:
Regarding saving mails what i meant was saving the mails received and also the attachments received
0
 
JarodtweissCommented:
Sorry for being late... :-D

Here is an interesting link : How to POP3 in C#
http://www.developerfusion.com/show/4071/

It is in C# but it can be easily translated in VB.NET
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now