File locked after sending it as attachment

前端 未结 6 1434
-上瘾入骨i
-上瘾入骨i 2020-12-10 13:20

I am sending a file as an attachment:

            // Create  the file attachment for this e-mail message.
            Attachment data = new Attachment(filePa         


        
6条回答
  •  天命终不由人
    2020-12-10 13:32

    A shared similar problem. I had to use image.dispose() on a given image before I could do something with the file that the image was created from.

提交回复
热议问题