Outlook无法发送包含大量附加文件的邮件> 20 MB [英] Outlook can't send mails with large attached files > 20 MB

查看:153
本文介绍了Outlook无法发送包含大量附加文件的邮件> 20 MB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have a SBS2013 with several Windows 7 clients running Outlook 2013.
For some reason the Outlook 2013 clients are not able to sent out mails with attacments larger than 20 MB even though Exchange 2013 seems to be configured for this??
 
 
Any helpful feedback is highly appreciated.. 





我尝试了什么:



if(email.Attachments.Count> 0)

{

for(int i = 1; i< email.Attachments.Count + 1; i ++)

{

string attpath = System.Configuration.ConfigurationManager.AppSettings [FileAttachment] + email.Attachments [i] .FileName;

email.Attachments [i] .SaveAsFile(attpath);

oMsg.Attachments.Add(email);

email.UnRead = true;

File.Delete(System.Configuration.ConfigurationManager.AppSettings [FileAttachment] + email.Attachments [i] .FileName);

}

}



What I have tried:

if (email.Attachments.Count > 0)
{
for (int i = 1; i < email.Attachments.Count + 1; i++)
{
string attpath = System.Configuration.ConfigurationManager.AppSettings["FileAttachment"] + email.Attachments[i].FileName;
email.Attachments[i].SaveAsFile(attpath);
oMsg.Attachments.Add(email);
email.UnRead = true;
File.Delete(System.Configuration.ConfigurationManager.AppSettings["FileAttachment"] + email.Attachments[i].FileName);
}
}

推荐答案

你需要eith重新配置Outlook: http://answers.microsoft.com/en-us/office/forum/office_2013_release-outlook/outlook-20102013-cant-send-attachment-bigger-than/bc3ab11f-a42f- 4c11-b67d-fe5e8336d734?auth = 1 [ ^ ], https://support.microsoft.com/en-gb/kb/2813269 [ ^ ]

或者更好地直接使用MailMessage而不是通过互操作到Outlook:Send使用或不使用附件在C#中发送电子邮件:通用例程。 [ ^ ]可能有帮助。
You need to either reconfigure Outlook: http://answers.microsoft.com/en-us/office/forum/office_2013_release-outlook/outlook-20102013-cant-send-attachment-bigger-than/bc3ab11f-a42f-4c11-b67d-fe5e8336d734?auth=1[^], https://support.microsoft.com/en-gb/kb/2813269[^]
Or better use MailMessage directly instead of working via interop to Outlook: Sending an Email in C# with or without attachments: generic routine.[^] may help.


Outlook 2013中的客户端默认限制为20MB,即使您将Exchange服务器配置为接受更大的附件。



此页面显示如何更改客户端上的限制:



https://support.microsoft.com/en-us/kb/2813269 [ ^ ]
There is a client side default limit of 20MB in Outlook 2013, even if you configure the Exchange server to accept bigger attachments.

This page shows how to change that limit on the client:

https://support.microsoft.com/en-us/kb/2813269[^]

这篇关于Outlook无法发送包含大量附加文件的邮件&gt; 20 MB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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