- 上传者: Administrator
- 上传时间:2024年02月24日 08时35分11秒
* Email Alias ** *** * 邮箱别名 ** *** In Odoo, email aliasing is a built-in tool that allows users to extract data from incoming emails and save it to ......
Email Alias
邮箱别名
In Odoo, email aliasing is a built-in tool that allows users to extract data from incoming emails and save it to ERP records. This function is an example of automation. We may configure Emails to automatically fetch content, eliminating human work and streamlining the business process. Any email sent to your domain that does not have a designated mailbox will be sent to your catchall email address. The applications retrieve the emails and forward them to the appropriate virtual mail account, and this is how an email alias works.
在Odoo中,电子邮件别名是一个内置工具,允许用户从收到的电子邮件中提取数据并将其保存到ERP记录中。这个功能是自动化的一个例子。我们可以将电子邮件配置为自动获取内容,从而消除人工工作并简化业务流程。任何发送到您的域名的没有指定邮箱的电子邮件都将被发送到您的通用电子邮件地址。应用程序检索电子邮件并将其转发到适当的虚拟邮件帐户,这就是电子邮件别名的工作方式。
A Mail Alias is a relationship between an email address and an Odoo Document object.
邮件别名是电子邮件地址和Odoo文档对象之间的关系。
Odoo's mail gateway uses it to process incoming emails delivered to the system. If the message's recipient address (To) matches a Mail Alias, the message will be processed according to the rules of that alias. If the message is a response, it will be added to the associated record; otherwise, a new model record will be generated.
Odoo的邮件网关使用它来处理传入系统的电子邮件。如果消息的收件人地址(To)与邮件别名匹配,则将根据该别名的规则处理消息。如果消息是响应,则将其添加到相关记录中;否则,将生成一个新的模型记录。
This is intended to be used in conjunction with a catch-all email setup on the company's mail server so that when a new mail.alias is generated, it is utilized, and Odoo processes mail for it.
这是为了与公司邮件服务器上的所有电子邮件设置结合使用,以便当收到新邮件时。别名生成,使用它,Odoo为它处理邮件。
Let’s check how the email alias is configured in Odoo.
让我们检查一下如何在Odoo中配置电子邮件别名。
If we need to use the email, for example, example@mydomain.in here, ‘example’ is the alias name, and mydomain.in is the alias domain.
如果我们需要使用电子邮件,例如,example@mydomain.in这里,‘ example ’是别名,mydomain。In是别名域。
First, we need to set up the alias domain. For that, you will need to go to the settings > general settings > Alias domain
首先,我们需要设置别名域。为此,您需要转到settings > general settings > Alias domain
We may enable the field 'Custom Email Servers' here, which will bring up another option below where we can enter the custom domain. After creating the custom domain or alias domain, the next is to create a record in the model ‘mail.alias’ from Settings > Technical > Email > Aliases.
我们可以在这里启用“自定义电子邮件服务器”,这将在下面显示另一个选项,我们可以在其中输入自定义域。在创建自定义域或别名域之后,下一步是在模型邮件中创建一条记录。从设置> >技术>电子邮件>别名。
This can be done using the XML code given below.
这可以使用下面给出的XML代码来完成。
<record id="mail_alias_jobs" model="mail.alias">
<field name="alias_name">jobs</field>
<field name="alias_model_id"ref="model_hr_applicant"/>
<field name="alias_user_id" ref="base.user_admin"/>
<field name="alias_parent_model_id"ref="model_hr_job"/>
</record>
id: id of the record
id:记录的id
model: model in which this record is being correspondent
model:与此记录对应的模型
alias_name: alias name needs to be provided
alias_name:需要提供别名
alias_model_id: id of the model in which the alias is defining
alias_model_id:定义别名的模型的id
alias_user_id: XML id of the user
alias_user_id:用户的XML id
alias_parent_model_id: parent model holding the alias
alias_parent_model_id:持有别名的父模型
After creating this record, it will be visible on the menu Aliases;
创建此记录后,它将在菜单“别名”上可见;
After this, the outgoing and incoming email servers can be configured.
在此之后,可以配置传出和传入电子邮件服务器。
Odoo will connect via a scheduler and will check emails every 5 minutes by default.
Odoo将通过调度程序连接,默认情况下每5分钟检查一次电子邮件。
It is recommended that in developer mode, go to Settings >> Technical >> System parameters, then search for "mail.catchall.alias" and set its value to the name of the catch-all mailbox so that replies go where they should.
建议在开发人员模式下,转到设置>>技术>>系统参数,然后搜索“mail.catchall.alias”,并将其值设置为包罗万象邮箱的名称,以便回复到达应有的位置。
本文章从网上收集,如有侵权请联系tderp@tderp.com删除
- 微信扫一扫,一分也是爱:
-
服务原则及地区范围
宜兴通达网络科技有限公司,地处中国宜兴环科园内,是一家高新技术企业。公司在企业网络维护和企业信息化建设与咨询方面,有10多年经验。
我公司愿与客户一道,力求彻底解决客户问题!
我们不是在给企业提供“头痛医头、脚痛医脚”的暂时解决方案,而是在部署根本性安全与稳定服务!!
我们愿携手客户,建立企业IT规划;杜绝随意安装系统、软件等操作;力求共同维护有序、安全、稳定的网络办公环境!!!
IT服务,服务是根本,客户是上帝;我们提供快速响应、快速上门、快速排查,提供优质高效的服务!!!!
通达科技提供全国范围内的服务,服务形式包括远程协助、电话咨询、电子邮件咨询、传真咨询、问答平台的问题解决等。
宜兴地区提供上门服务:
- 市区服务:宜城街道、城北街道(屺亭街道)、新街街道、新庄街道、环科园、渚桥开发区
- 市郊服务:张渚镇、西渚镇、太华镇、徐舍镇、官林镇、杨巷镇、新建镇、和桥镇、高塍镇、万石镇、周铁镇、芳桥镇、丁蜀镇、湖父镇。