0 votes

Hi,

Where I can change folder path for download attachments from POP3?
What is default path?
It's working but I can't able to see the download attachments

by (8.8k points)

1 Answer

0 votes

Attachments are part of the email you download, files are not created on disk until you call MimeData.Save method on objects in IMail.Attachments collection.

If you want to specify a different folder than the default path for current process, just specify it as an argument for the Save method:

mime.Save(Path.Combine(@"c:\attachments\", mime.SafeFileName));
by (301k points)
...