# MailServerConfigurationType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Configuration of a particular mail server host.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
host | property string | [1,1] | Mail server host (FQDN or IP address).
port | property int | [0,1] | Mail server port (25 by default).
username | property string | [0,1] | How to authenticate to the mail server.
password | property ProtectedStringType | [0,1] | How to authenticate to the mail server.
transportSecurity | property MailTransportSecurityType | [0,1] | How to ensure transport-level security when sending the message.
basicAuthentication | property BasicAuthenticationType | [1,1] |
oauth2Authentication | property OAuth2CredentialsType | [1,1] |

- ### Items

  - #### host

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Mail server host (FQDN or IP address).

  - #### port

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Mail server port (25 by default).

  - #### username

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    How to authenticate to the mail server. DEPRECATED: use new BasicAuthenticationType instead.

  - #### password

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    How to authenticate to the mail server. DEPRECATED: use new BasicAuthenticationType instead.

  - #### transportSecurity

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,1]

    Display order:

    How to ensure transport-level security when sending the message. Defaults to none for basic auth, and tls for oauth2.

  - #### basicAuthentication

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

  - #### oauth2Authentication

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order: