How to get user's MaximunAttachmentSize value in Outlook VSTO

Mehmet Ceylan 6 Reputation points

How to get user's MaximunAttachmentSize value in Outlook VSTO.

Outlook gives a warning when the user adds the file with drag and drop, but when he sends the mail, the mail does not go.

What I want to do is to show the message box if the added file size is larger than outlook MaximunAttachmentSize.


When I say Upload file with Attach File I get an error like this

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,368 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,575 questions
{count} vote