Jeff
Jeff

Reputation: 621

Programmatically Determine Exchange Attachment Limit

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.

Upvotes: 2

Views: 253

Answers (1)

Jeff
Jeff

Reputation: 621

I think my question was a bad question. After thinking it through, I realized that would involve the browser being able to determine the file size client side. That rang a bell from a long time ago and based on Cross-browser checking on file size at client side before uploading it to the server?, it's not possible - at least not in a way that I can implement.

Upvotes: 0

Related Questions