开发者

sending email with smtp client with attachment giving error

i am sending an attachement, and the email sends 开发者_C百科successfuly , but when i tries to delete the same file it gives the error as "file is being used by another process" i am deleting by system.io.file.delete()


Did you Dispose correctly? For both the Stream and the SmtpClient after sending the mail?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜