TCPIP_SMTPC_ENCODE_TYPE Enumeration

C

typedef enum {
TCPIP_SMTPC_ENCODE_TYPE_UNKNOWN,
TCPIP_SMTPC_ENCODE_TYPE_7BIT,
TCPIP_SMTPC_ENCODE_TYPE_BASE64
} TCPIP_SMTPC_ENCODE_TYPE;

Description

Enumeration: TCPIP_SMTPC_ENCODE_TYPE

Enumeration describing the possible encoding types supported by the SMTPC client.

Members

MembersDescription
TCPIP_SMTPC_ENCODE_TYPE_UNKNOWNUnknown encoding type; defaults to base64.
TCPIP_SMTPC_ENCODE_TYPE_7BIT7bit encoding type: no encoding done, 7 bit ASCII This doesn't do any encoding. Use it for plain text.
TCPIP_SMTPC_ENCODE_TYPE_BASE64Base64 encoding applied. Mandatory for binary data; could be used for plain data as well. Other supported types will be added here.

Remarks

Normally plain text should be sen using the 7bit encoding type, i.e. plain ASCII. However, selecting base64 encoding has the advantage that the lines are not limited in length and any sequence of characters can be present in the email body without the need of the SMTPC to search and replace the SMTP forbidden characters.