This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
Mail

Mail 

 

Constant  Type Value Comment
IMAP all  Longint 1

Select all messages in the selected mailbox

IMAP authentication CRAM MD5  String CRAM-MD5

IMAP authentication using CRAM-MD5 protocol

IMAP authentication login  String LOGIN

IMAP authentication using LOGIN protocol

IMAP authentication OAUTH2  String OAUTH2

IMAP authentication using OAuth 2 protocol

IMAP authentication plain  String PLAIN

IMAP authentication using PLAIN protocol

IMAP read only state  Longint 1

The selected mailbox is accessed with read only privileges. Messages with a "recent" flag (indicating new messages) remain unchanged.

IMAP read write state  Longint 0

The selected mailbox is accessed with read and write privileges. Messages are considered "seen" and lose the "recent" flag (indicating new messages). (Default value)

mail disposition attachment  String attachment Set the Content-disposition header value to "attachment", which means that the attachment file must be provided as a link in the message.
mail disposition inline  String inline Set the Content-disposition header value to "inline", which means that the attachment must be rendered within the message contents, at the "cid" location. The rendering depends on the mail client.
mail mode ISO2022JP  String US-ASCII_ISO-2022-JP_UTF8_QP
  • headerCharset: US-ASCII if possible, Japanese (ISO-2022-JP) & Quoted-printable if possible, otherwise UTF-8 & Quoted-printable
  • bodyCharset: US-ASCII if possible, Japanese (ISO-2022-JP) & 7-bit if possible, otherwise UTF-8 & Quoted-printable
mail mode ISO88591  String ISO-8859-1
  • headerCharset: ISO-8859-1 & Quoted-printable
  • bodyCharset: ISO-8859-1 & 8-bit
mail mode UTF8  String US-ASCII_UTF8_QP

headerCharset & bodyCharset: US-ASCII if possible, otherwise UTF-8 & Quoted-printable (default value)

mail mode UTF8 in base64  String US-ASCII_UTF8_B64

headerCharset & bodyCharset: US-ASCII if possible, otherwise UTF-8 & base64

POP3 authentication APOP  String APOP

POP3 authentication using APOP protocol

POP3 authentication CRAM-MD5  String CRAM-MD5

POP3 authentication using CRAM-MD5 protocol

POP3 authentication login  String LOGIN

POP3 authentication using LOGIN protocol

POP3 authentication OAUTH2  String OAUTH2

POP3 authentication using OAuth 2 protocol

POP3 authentication plain  String PLAIN

POP3 authentication using PLAIN protocol

SMTP authentication CRAM MD5  String CRAM-MD5 SMTP authentication using CRAM-MD5 protocol
SMTP authentication login  String LOGIN SMTP authentication using LOGIN protocol
SMTP authentication OAUTH2  String OAUTH2

SMTP authentication using OAuth 2 protocol

SMTP authentication plain  String PLAIN SMTP authentication using PLAIN protocol


See also 

IMAP New transporter
MAIL Convert to MIME
MAIL New attachment
POP3 New transporter
SMTP New transporter

 
PROPERTIES 

Product: 4D
Theme: List of constant themes

 
HISTORY 

Created: 4D v17 R4
Modified: 4D v18

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)