M-Files API 22.6.11519.0
SetFromEmail Method
DefaultProperty Object : SetFromEmail Method
If this parameter is True, values should be treated as item IDs instead of display names. Valid only if the property represents a lookup value.
If this parameter is True, a new value list item should be added if it is not found. Valid only if the property represents a lookup value.
Description
Sets the FromEmail data.
Syntax
Visual Basic
Public Sub SetFromEmail( _
   ByVal EmailField As MFEmailField, _
   ByVal TreatLookupAsID As Boolean, _
   ByVal AddVLItemIfNotFound As Boolean _
) 
Parameters
EmailField
ValueDescription
MFEmailFieldBodyMessage body.
MFEmailFieldCcCc.
MFEmailFieldDateMessage timestamp.
MFEmailFieldFromSender.
MFEmailFieldImportanceImportance.
MFEmailFieldSensitivitySensitivity.
MFEmailFieldSubjectMessage subject.
MFEmailFieldToRecipient.
MFEmailFieldUndefinedUnknown field (not initialized to any type).
TreatLookupAsID
If this parameter is True, values should be treated as item IDs instead of display names. Valid only if the property represents a lookup value.
AddVLItemIfNotFound
If this parameter is True, a new value list item should be added if it is not found. Valid only if the property represents a lookup value.
See Also

DefaultProperty Object  | DefaultProperty Members