Delta Chat Core C-API
 All Classes Functions Typedefs Groups Pages
Macros
DC_LP

Flags for configuring IMAP and SMTP servers. More...

Macros

#define DC_LP_AUTH_NORMAL   0x4
 Force NORMAL authentification, this is the default. More...
 
#define DC_LP_IMAP_SOCKET_PLAIN   0x400
 Connect to IMAP unencrypted, this should not be used. More...
 
#define DC_LP_IMAP_SOCKET_SSL   0x200
 Connect to IMAP via SSL. More...
 
#define DC_LP_IMAP_SOCKET_STARTTLS   0x100
 Connect to IMAP via STARTTLS. More...
 
#define DC_LP_SMTP_SOCKET_PLAIN   0x40000
 Connect to SMTP unencrypted, this should not be used. More...
 
#define DC_LP_SMTP_SOCKET_SSL   0x20000
 Connect to SMTP via SSL. More...
 
#define DC_LP_SMTP_SOCKET_STARTTLS   0x10000
 Connect to SMTP via STARTTLS. More...
 

Detailed Description

Flags for configuring IMAP and SMTP servers.

These flags are optional and may be set together with the username, password etc. via dc_set_config() using the key "server_flags".

Macro Definition Documentation

#define DC_LP_AUTH_NORMAL   0x4

Force NORMAL authentification, this is the default.

If this, or any other flag is set, automatic configuration is skipped.

#define DC_LP_IMAP_SOCKET_PLAIN   0x400

Connect to IMAP unencrypted, this should not be used.

If this, or any other flag is set, automatic configuration is skipped.

#define DC_LP_IMAP_SOCKET_SSL   0x200

Connect to IMAP via SSL.

If this, or any other flag is set, automatic configuration is skipped.

#define DC_LP_IMAP_SOCKET_STARTTLS   0x100

Connect to IMAP via STARTTLS.

If this, or any other flag is set, automatic configuration is skipped.

#define DC_LP_SMTP_SOCKET_PLAIN   0x40000

Connect to SMTP unencrypted, this should not be used.

If this, or any other flag is set, automatic configuration is skipped.

#define DC_LP_SMTP_SOCKET_SSL   0x20000

Connect to SMTP via SSL.

If this, or any other flag is set, automatic configuration is skipped.

#define DC_LP_SMTP_SOCKET_STARTTLS   0x10000

Connect to SMTP via STARTTLS.

If this, or any other flag is set, automatic configuration is skipped.