开发者

C#/NET: is there a way to send mail attachments from the Internet without downloading them

My web app has to send e-mails with HTML files from the Internet attached to them.

Currently I download the files with

WebClient.DownloadFileAsync

It takes quite a lot because the files are pretty big, it also takes CPU resources and hard drive sp开发者_运维问答ace.

Is there a way to send online attachments without downloading them first?

Thanks


There is no way to do it unless you can send them from the server they are stored in. As fro the disk space, you can delete them after the mail is sent.
Unfortunately that's the best you can do.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜