دروازه ایمیل

The Odoo mail gateway allows you to inject directly all the received emails in Odoo.

Its principle is straightforward: your SMTP server executes the "mailgate" script for every new incoming email.

The script takes care of connecting to your Odoo database through XML-RPC, and send the emails via the MailThread.message_process() feature.

پیش‌نیازها

  • دسترسی مدیر به پایگاه داده Odoo.

  • سرور ایمیل خودتان مانند Postfix یا Exim.

  • دانش فنی در مورد نحوه پیکربندی سرور ایمیل.

برای Postfix

In you alias config (/etc/aliases):

email@address: "|/odoo-directory/addons/mail/static/scripts/odoo-mailgate.py -d <database-name> -u <userid> -p <password>"

توجه

منابع

برای Exim

*: |/odoo-directory/addons/mail/static/scripts/odoo-mailgate.py -d <database-name> -u <userid> -p <password>

توجه

منابع

نکته

If you don't have access/manage your email server, use inbound messages.