MailBee.NET Objects 7.1

VirtualMappingType Enumeration

Defines the available modes which specify how the virtual paths should be generated by GetHtmlAndSaveRelatedFiles method for inline attachments referenced in HTML body.

public enum VirtualMappingType

Remarks

These modes specify how physical paths to embedded pictures (and other inline attachments related in HTML body and saved into temporary location by GetHtmlAndSaveRelatedFiles method) are mapped into URIs placed into SRC elements of corresponding HTML tags.

Note    URI is a synonym of an URL.

Members

Member NameDescription
NonWeb Virtual paths are not used, physical paths themselves are placed in URIs (e.g. <IMG SRC="C:\Inetpub\wwwroot\picture.gif">).
Static Virtual paths are used instead of physical paths (e.g. <IMG SRC="http://www.domain.com/picture.gif">). The message files must be stored in a location visible from the web.
Dynamic The virtual path must point to a downloader script. MailBee.NET will also supply message_id and file_id parameters in URI. The downloader script can use them to locate the file to be downloaded to the client. The message files can be stored in a location which can be accessed by the downloader script but is not directly visible from the web (for better security). See GetHtmlAndSaveRelatedFiles method documentation for more information.

Requirements

Namespace: MailBee.Mime

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

See Also

MailBee.Mime Namespace | GetHtmlAndSaveRelatedFiles