Wt: Wt::Mail Namespace Reference

Wt 4.10.4

Loading...
Searching...
No Matches
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

enum class Wt::Mail::AuthenticationMethod
| strong

Indicates the authentication method to use.

Enumerator
None | No authentication.
Plain | PLAIN authentication.
Login | LOGIN authentication.

## ◆ RecipientType

enum class Wt::Mail::RecipientType
| strong

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

enum class Wt::Mail::TransportEncryption
| strong

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.