alias |
Email Aliases
Catalog: Odoo
Schema: mail
Documentation:
A Mail Alias is a mapping of an email address with a given Odoo Document
model. It is used by Odoo's mail gateway when processing incoming emails
sent to the system. If the recipient address (To) of the message matches
a Mail Alias, the message will be either processed following the rules
of that alias. If the message is a reply it will be attached to the
existing discussion on the corresponding record, otherwise a new
record of the corresponding model will be created.
This is meant to be used in combination with a catch-all email configuration
on the company's mail server, so that as soon as a new mail.alias is
created, it becomes immediately usable and Odoo will accept email for it.
The data in this table is partitioned per value of the column.
This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.
Table Columns
The columns of the table alias are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
alias_bounced_content |
string |
Custom Bounced Message |
☐ |
If set, this content will automatically be sent out to unauthorized users instead of the default message. |
alias_contact |
string |
Alias Contact Security |
☑ |
Policy to post a message on the document using the mailgateway.- everyone: everyone can post- partners: only authenticated partners- followers: only followers of the related document or members of following channels |
alias_defaults |
string |
Default Values |
☑ |
A Python dictionary that will be evaluated to provide default values when creating new records for this alias. |
alias_domain |
string |
Alias domain |
☐ |
|
alias_force_thread_id |
int32 |
Record Thread ID |
☐ |
Optional ID of a thread (record) to which all incoming messages will be attached, even if they did not reply to it. If set, this will disable the creation of new records completely. |
alias_model_id_label |
string |
|
☐ |
The model (Odoo Document Kind) to which this alias corresponds. Any incoming email that does not reply to an existing record will cause the creation of a new record of this model (e.g. a Project Task) |
alias_model_id |
string |
|
☐ |
The model (Odoo Document Kind) to which this alias corresponds. Any incoming email that does not reply to an existing record will cause the creation of a new record of this model (e.g. a Project Task) |
alias_name |
string |
Alias Name |
☐ |
The name of the email alias, e.g. 'jobs' if you want to catch emails for <jobs@example.odoo.com> |
alias_parent_model_id_label |
string |
|
☐ |
Parent model holding the alias. The model holding the alias reference is not necessarily the model given by alias_model_id (example: project (parent_model) and task (model)) |
alias_parent_model_id |
string |
|
☐ |
Parent model holding the alias. The model holding the alias reference is not necessarily the model given by alias_model_id (example: project (parent_model) and task (model)) |
alias_parent_thread_id |
int32 |
Parent Record Thread ID |
☐ |
ID of the parent record holding the alias (example: project holding the task creation alias) |
alias_status |
string |
Alias Status |
☐ |
Alias status assessed on the last message received. |
alias_user_id_label |
string |
|
☐ |
The owner of records created upon receiving emails on this alias. If this field is not set the system will attempt to find the right owner based on the sender (From) address, or will use the Administrator account if no system user is found for that address. |
alias_user_id |
string |
|
☐ |
The owner of records created upon receiving emails on this alias. If this field is not set the system will attempt to find the right owner based on the sender (From) address, or will use the Administrator account if no system user is found for that address. |
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
display_name |
string |
Display Name |
☐ |
|
id |
int32 |
ID |
☐ |
|
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
01-03-2023 15:29 Version 22.1.135-BETA+3826