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

New Post: the attachment.Download method delete the attachment content

$
0
0
same happens with the attachment [0]

sample code (VB)
    For Each att As ImapX.Attachment In m.Attachments

                ' before the download, FileSize > 0 
                att.Download()

                ' now, FileSize = 0

                att.Save("c:\_myfolder", att.FileName)    ' save an empty file
                daticert = System.Text.Encoding.Default.GetString(att.FileData)   ' return an empty string

    Next
please help me :)
francesco

Viewing all articles
Browse latest Browse all 1952

Trending Articles



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