Can you plz tell me, how to download attachments in vb.net?

asked 22 Jul '11, 20:03

ravi's gravatar image

ravi
15
accept rate: 0%

edited 11 Oct '11, 17:11

Martin%20Vobr's gravatar image

Martin Vobr ♦♦
335310


Step 1: Download a MailMessage object using IMAP or POP3 protocols. Check out the IMAP tutorial or POP3 tutorial for sample code.

Step 2: For each Attachment object in MailMessage's Attachments collection, call the Save method to save it to a file. Check out the ExtractAttachments sample or its description for sample code.

If anything is unclear, don't hesitate to ask again.

link

answered 24 Jul '11, 22:54

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.4k28
accept rate: 31%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×76
×53
×36
×20

Asked: 22 Jul '11, 20:03

Seen: 704 times

Last updated: 11 Oct '11, 17:11