Programatically Determine Exchange Attachment Limit

Posted by Jeff Ballard on Server Fault See other posts from Server Fault or by Jeff Ballard
Published on 2011-01-24T23:52:41Z Indexed on 2011/03/06 8:11 UTC
Read the original article Hit count: 236

Filed under:
|

Is there any way to query the exchange server to determine the maximum attachment file size? I'd be doing this in ASP.NET/C#. I'd like to be able to validate the file they want to attach is not over the limit before the user attempts to send the file to the server as opposed to having the server send back an exception when it attempts to attach the file and it discovers the file is too large.

I've also posted this question about this on stackoverflow.com as well - I figured a sysadmin for Exchange may have an answer as well as a developer. Hopefully I do not incur the wrath of the stackexchange gods.

© Server Fault or respective owner

Related posts about exchange

Related posts about attachment