|
Summary
Content type for the root body of a multipart message.
Description
The purpose of the MultipartType property is to describe the data contained in the root
body of a multipart message. This property is optional and only relevant for
Multipart/Related MIME messages. The ContentType property can be set to one of the
following values.
| Value |
Meaning |
| "text" |
Textual information. |
| "audio" |
Audio data. |
| "video" |
Video data. |
| "image" |
Image data. |
| "message" |
Encapsulated message. |
| "multipart" |
Multiple parts of independent types. |
| "application" |
Uninterpreted binary data. |
If used this property should be set in the OnSetHeader events, after the CreateMessage
method has been called.
The MIME ActiveX control will set this property during the message extraction process
immediately prior to firing the OnRecvHeader event (In response to calling the
ExtractMessageEnd method).
This property can be set at any time. There is no default value for this property.
Example
Private Sub MIME_OnSetHeader(Info As String, Length As Integer, Status As Integer)
Mime.ContentType = "text"
Mime.ContentId = id130@foo.com
Mime.MultipartType = "multipart"
Mime.MultipartStart = id129@foo.com
Mime.FileName = ""
Mime.Encoding = ""
.
.
End Sub
|