Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

New Post: SAVE Message attachment to disk folder

$
0
0
Hello Pavel...

How to save mail attachment (one or more per mail) to local folder disc?
Is there any function like mail.Save (path....) or something like that. Here is piece of sample code I want...

if (m.Attachments.Count > 0)
{
   foreach (var attachment in m.Attachments)
   {
               // attachment.Save //Implement here code for saving attachment
    }
}

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>