wodMailbox ActiveX Control - Encoding Property
      
 

Description

Holds encoding type of the attachment.


Property type

An AttachmentEncodingsEnum enumeration.  


Syntax

object.Encoding [= value]



The Encoding Property syntax has these parts:

Part Description
object An expression evaluating to an object of type Attachment.
value An AttachmentEncodingsEnum enumeration, as described in settings.

Settings

The settings for value are:

Constant Value Description
 encUNKNOWN 0 unknown
 encBASE64 1 BASE64 encoding
 encBINHEX4 2 BINHEX4
 encUUENCODE 3 UUENCODE
 encQUOTEDPRINTABLE 4 quoted-printable
 enc7BIT 5 7bit

Remarks

Encoding property defines encoding algorithm used to send attachment inside email message. Most common is BASE64, and is widely used among mail clients. BINHEX4 is used mostly by Macintosh users, and UU is old algorithm used among UNIX clients.

wodMailbox will try to find information about encoding from message headers, if possible. If this information is found, Save method when used will automatically decode attachment properly and save it to local file.