Wt  4.10.4
Classes | Enumerations
Wt::Mail Namespace Reference

Namespace for the SMTP client library (Wt::Mail). More...

Classes

class  Client
 An SMTP mail client. More...
 
class  Mailbox
 An email sender or recipient mailbox. More...
 
class  Message
 A mail message. More...
 

Enumerations

enum class  AuthenticationMethod { None , Plain , Login }
 Indicates the authentication method to use. More...
 
enum class  TransportEncryption { None , StartTLS , TLS }
 Indicates the transport encryption method to use. More...
 
enum class  RecipientType { To , Cc , Bcc }
 Enumeration for a recipient type. More...
 

Detailed Description

Namespace for the SMTP client library (Wt::Mail).

Enumeration Type Documentation

◆ AuthenticationMethod

Indicates the authentication method to use.

Enumerator
None 

No authentication.

Plain 

PLAIN authentication.

Login 

LOGIN authentication.

◆ RecipientType

Enumeration for a recipient type.

See also
Message::addRecipient()
Enumerator
To 

To: recipient.

Cc 

Cc: recipient.

Bcc 

Bcc: recipient (is omitted from the recipients in the message itself)

◆ TransportEncryption

Indicates the transport encryption method to use.

Enumerator
None 

No encryption.

StartTLS 

Use STARTTLS (fail if not accepted by server)

TLS 

Use TLS directly, don't use STARTTLS.