更大尺寸的asp.net附件发送 [英] Sending attachments of greater size asp.net

查看:184
本文介绍了更大尺寸的asp.net附件发送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了将PDF作为附件的一台Windows(桌面)基于应用程序。 PDS的尺寸范围可以从40 KB到10-15 MB。但是,当我发送PDF 250多MB的文件永远不会到达目的地。

i have developed one windows (desktop) based application which sends pdf as an attachments. the size of pds could range from 40 KB to 10-15 MB. But when i send an pdf more than 2.5 MB the file is never reaching the destination.

我尝试发送我们的内网文件以及流行的互联网(如Gmail,雅虎)的电子邮件地址,但没有运气!

I try sending the file at our intranet as well popular internet (such as gmail, yahoo) email address but no luck!

此外,我Cross在SMTP服务器进行检查。没有这样的限制已经被强加在其中。

Also i cross checked in SMTP Server. No such limitations has been imposed therein.

我的code在Asp.net 2.0和C#。

My code is in Asp.net 2.0 and C#.

让我知道,如果需要更多的细节。

let me know if more details required.

由于一吨!

推荐答案

与尝试下面code

SmtpClient.Timeout值。

SmtpClient.Timeout value.

或看看这个链接

http://forums.asp.net/t/1402417.aspx/1

这篇关于更大尺寸的asp.net附件发送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆