> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetCompanyEmailSettingsCommandRequestInput

> Sets how a company sends e-mail with a user name and password sign-in, or replaces the settings it has. The password is set with its own call and stays as it is. The encryption values without a certificate check are refused. Settings that use an OAuth sign-in are refused: disconnect the sign-in first. Changing the server, the port, the encryption or the user name deletes the stored password; set it again with the password call. A value that is left out is cleared: the call replaces the settings as a whole, except for the password. - Request



**Kind**: `input`

## Fields

**`companyId`**: `ID!` (required)

The ID of the company.

---

**`server`**: `String!` (required)

Host name of the outgoing mail server, at most 255 characters.

---

**`port`**: `Int!` (required)

Port of the mail server, 1 to 65535.

---

**`encryption`**: `CompanyEmailEncryption!` (required)

How the connection is secured: None, StartTls or Ssl.

---

**`senderAddress`**: `String!` (required)

The sender address of outgoing mail, a valid mail address of at most 255 characters.

---

**`username`**: `String`

The user name for the sign-in, at most 255 characters. Without it the server is used without a sign-in.

---

**`bccAddress`**: `String`

An address that receives a blind copy of every outgoing mail, at most 255 characters.

