|
Summary
Send binary or ascii data.
Description
The UseVariant property is used to specify whether data is to be sent in binary or
ASCII form. If this property is set to True, the OnSetBodyB event will be fired when a
message is being created; otherwise the OnSetBody event is fired. These events will be
fired after the CreateMessage method is called. (or the deprecated OnBodyB or OnBody
events will be fired if the deprecated Create or CreateX method is called) .
If this property is set to True the OnDataB event will be fired to deliver a created
message, otherwise the OnData event will be fired.
When a message is extracted after the ExtractMessageEnd method is called the
OnRecvBodyB event will be fired if this property is set to True, otherwise the OnRecvBody
event will be fired. (If using the deprecated ExtractX methods the OnDataB if this
property is set to True; otherwise the OnData event will be fired).
This property should be set before an attempt is made to create a message. This
property can be read at any time. The default value for this property is False.
Example
Mime.UseVariant = True
|