MailBee.NET Objects 7.2

ImportBodyOptions Enumeration

Defines the available flags for importing the body of the mail message from a file or URI via LoadBodyText method.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Flags]
public enum ImportBodyOptions

Remarks

URI is a synonym of an URL.

Members

Member Name Description Value
None Simply overwrite the existing message body with the imported data. 0
Append The imported body will be appended to the existing message body. 1
PathIsUri The path parameter of LoadBodyText method is URI rather than disk file path. If this option is not set, absolute or relative path on disk is assumed. 2
ImportRelatedFiles The files related to the imported message body (inline pictures, etc) will also be imported (they will appear as inline attachments, having IsInline set to true). 4
ImportRelatedFilesFromUris The files which are referenced in the imported message body via URIs will be downloaded from their web locations and attached to the message. If this flag is not set, only local files will be imported while URI references will be left as-is. 8
PreferCharsetFromMetaTag If sourceEncoding parameter of LoadBodyText method is set, use it only if charset information is not available in META tag of the HTML data being imported. Has no effect for plain-text data or when sourceEncoding is a null reference (Nothing in Visual Basic). 16

Requirements

Namespace: MailBee.Mime

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee.Mime Namespace | LoadBodyText