Share via


EmailInsertsEnabled Property

The EmailInsertsEnabled property of the SPVirtualServerConfig class gets or sets a Boolean value that specifies whether document libraries on the virtual server can accept e-mail attachments.

Property Value

true if document libraries can accept e-mail attachments; otherwise, false.

Remarks

Setting the value of the EmailInsertsEnabled property requires calling the Update method of the SPPropertyBag class to commit the property changes to the database.

Example

The following code example enables e-mail attachments for document libraries on the specified virtual server.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security