|
Summary
Unique id for the content.
Description
The ContentId property specifies a unique id for the contents of the MIME message. This
property is used to build the "Content-ID" field of the header. The value of the
ContentId property will be used to uniquely identify a MIME message. This is especially
important for an "external" message. An "external" message is one
whose ContentType property is set to "message" and the Subtype property is set
to "external-body". The MessageType property is set to MESSAGE_EXTERNAL (the
External method can also be used).
The ContentId property is mandatory for an external message. If used it must be set in
the OnSetHeader events, after the CreateMessage method has been called (or set before
setting the Action property to the deprecated ACTION_CREATE value, calling the deprecated
Create or CreateX method or in the deprecated OnHeader event).
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. (It is also set by the deprecated OnHeader event, after the Extract or
ExtractX method has been called.)
This property can be changed at design time and run 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 = "image"
MIME.Subtype = "gif"
MIME.ContentId = id129@foo.com
MIME.ContentBase = http://www.foo.com
MIME.ContentLocation = "/images/logo.gif"
.
.
End Sub
|