---
title: "mail_server (Odoo)"
description: "itgen_odoo_mail_server"
language: it
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/it/datamodels/odoo/Odoo.ir.mail_server
original: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.ir.mail_server
updated: 2026-11-18T01:04:11Z
license: https://documentation.invantive.eu/it/
---

# mail_server: Odoo itgen_odoo_mail_server

`read only` `per partition`

- Catalogo: `Odoo`
- Schema: `ir`
- Etichetta: itgen_odoo_mail_server

Server di posta

È possibile solo recuperare i dati.

## Riepilogo

Represents an SMTP server, able to send outgoing emails, with SSL and TLS capabilities.

## Colonne della tabella

Di seguito sono riportate le colonne della tabella `mail_server`. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.

| Name | Tipo di dati | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `active` | `boolean` | Active | [ ] |  |  |
| `active_mailing_ids` | `varchar2` |  | [ ] |  |  |
| `create_date` | `datetime` | Creato il | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `display_name` | `varchar2` | Nome visualizzato | [ ] |  |  |
| `from_filter` | `varchar2` | FROM Filtering | [ ] |  | Define for which email address or domain this server can be used. e.g.: "notification@odoo.com" or "odoo.com" |
| `google_gmail_access_token` | `varchar2` | Token di Accesso | [ ] |  |  |
| `google_gmail_access_token_expiration` | `int32` | Access Token Expiration Timestamp | [ ] |  |  |
| `google_gmail_authorization_code` | `varchar2` | Codice di autorizzazione | [ ] |  |  |
| `google_gmail_refresh_token` | `varchar2` | Refresh Token | [ ] |  |  |
| `google_gmail_uri` | `varchar2` | URI | [ ] |  | The URL to generate the authorization code from Google |
| `id` | `int32` | ID | [ ] |  |  |
| `mail_template_ids` | `varchar2` |  | [ ] |  |  |
| `name` | `varchar2` | Name | [x] |  |  |
| `sequence` | `int32` | Priority | [ ] |  | When no specific mail server is requested for a mail, the highest priority one is used.Default priority is 10 (smaller number = higher priority) |
| `smtp_authentication` | `varchar2` | Authenticate with | [x] |  |  |
| `smtp_authentication_info` | `varchar2` | Authentication Info | [ ] |  |  |
| `smtp_debug` | `boolean` | Debugging | [ ] |  | If enabled, the full output of SMTP sessions will be written to the server log at DEBUG level (this is very verbose and may include confidential info!) |
| `smtp_encryption` | `varchar2` | Connection Encryption | [x] |  | Choose the connection encryption scheme: - None: SMTP sessions are done in cleartext. - TLS (STARTTLS): TLS encryption is requested at start of SMTP session (Recommended) - SSL/TLS: SMTP sessions are encrypted with SSL/TLS through a dedicated port (default: 465) |
| `smtp_host` | `varchar2` | Server del SMTP | [x] |  | Hostname or IP of SMTP server |
| `smtp_pass` | `varchar2` | Password | [ ] |  | Optional password for SMTP authentication |
| `smtp_port` | `int32` | Porta SMTP | [x] |  | SMTP Port.Usually 465 for SSL, and 25 or 587 for other cases. |
| `smtp_ssl_certificate` | `varbinary` | SSL Certificate | [ ] |  | SSL certificate used for authentication |
| `smtp_ssl_private_key` | `varbinary` | SSL Private Key | [ ] |  | SSL private key used for authentication |
| `smtp_user` | `varchar2` | Username | [ ] |  | Optional username for SMTP authentication |
| `write_date` | `datetime` | Last Updated on | [ ] |  |  |
| `write_uid` | `varchar2` |  | [ ] |  |  |
| `write_uid_label` | `varchar2` |  | [ ] |  |  |


## Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:

- [Odoo](/it/release-notes/drivers?driver=odoo)
