在Windows应用程序中发送带有大型附件文件的电子邮件时出错 [英] error sending email with large attachment files in windows application

查看:79
本文介绍了在Windows应用程序中发送带有大型附件文件的电子邮件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从我的Windows应用程序发送带有附件的电子邮件
工作正常
直到我尝试将4或5 mb的大文件作为附件发送
如何通过网络交流中的电子邮件增加附件空间
我们将其添加到Web配置文件中的行

iam sending email from my windows application with attachment
it''s work fine
untill i try to send large files 4 or 5 mb as attachment
how can i increase attachment space throught email in web apliocation
we add this is line in web config file

<httpruntime maxrequestlength="1048576" executiontimeout="360" />



那么Windows应用程序中的equal是什么
关于问候



so what is the equl in windows application
with regards

推荐答案

您可能无法执行-通常在主机端引入限制. MIME本身没有设置任何限制,但是由于电子邮件以这种方式通过了可变数量的邮件传输代理,并且每个代理都必须存储和转发每封邮件,因此,它们引入的任何限制将成为总体限制因素. br/>
还值得注意的是,MIME编码(发送这样的附件是必需的)在每个附件上总共增加了大约30%的开销-因此看似5Mb的文件可以变成6.5Mb的附件.

如果可以,请找到另一种方法-也许使文件可供下载并在电子邮件中提供指向该文件的链接.首先,发送大量电子邮件不是一种友好的处理方式-您不知道收件人的连接速度,而且如果您的Internet连接速度很慢,那么发送一封大型电子邮件可能会非常非常烦人.出于任何原因.
You may not be able to - it is generally at the host end that the limits are introduced. MIME itself sets no limit, but since email passes through a variable number of mail transfer agents on it''s way - and each has to store-and-forward each message - any limitation that they introduce will be the overall limiting factor.

It is also worth noting that MIME encoding (which is necessary to send such an attachment) adds up to about 30% overhead on each attachment - so what appears to be a 5Mb file, can become a 6.5Mb attachment.

If you can, find another way - perhaps making the file available for download and providing a link to the file in the email. Sending massive emails is not a friendly way to do things in the first place - you do not know the speed of the recipient''s connection, and a large email can be very, very, annoying if you are on a slow internet connection for whatever reason.


这篇关于在Windows应用程序中发送带有大型附件文件的电子邮件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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