wodSmtp ActiveX Control - ContentType Property
      
 

Description

Holds Content-Type header.


Property type

A String value.  


Syntax

object.ContentType [= value]



The ContentType Property syntax has these parts:

Part Description
object An expression evaluating to an object of type SmtpMsg.
value A String value.

Remarks

ContentType property will internally scan headers and search for 'Content-Type' header, and return its information to you.

When you set this property, it will overwrite 'Content-Type' header.

Content-Type usually specifies type of the message or message part. Most common it is set to 'text/plain', but can have also 'text/html' when message contains HTML parts, and for attachments it can be 'application/octet-stream', 'application/zip' etc..