0 votes
by (120 points)
edited

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

Applies to: Rebex Secure Mail

1 Answer

0 votes
by (148k points)
edited

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.

...