property ContentType: string;

 

Description

Holds the MIME media type of the attachment

Common values of ContentType include text/plain, text/html, text/xml, text/enhanced, image/jpeg, image/gif, audio/basic, audio/au, video/mpeg, application/octet-stream, application/postscript, application/ms-word, application/ms-excel, application/rtf, multipart/mixed, multipart/alternative, message/external-body.

ContentType holds the value of the "Content-Type" Internet Message header.

The "charset" parameter can be used to set the charset for the attachment. When you change the "charset" parameter, the ContentCharset property is changed as well.

The "name" parameter can be used to set  the MIME content type name. When you change the "name" parameter, the ContentName property is changed as well.

 

See Also

ContentCharset

ContentName

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support