You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.0 KiB

  1. You must configure Mailgun webhooks in order to receive mail events:
  2. 1. Got a Mailgun account and validate your sending domain.
  3. 2. Go to Webhook tab and configure the below URL for each event:
  4. .. code:: html
  5. https://<your_domain>/mail/tracking/all/<your_database>
  6. Replace '<your_domain>' with your Odoo install domain name
  7. and '<your_database>' with your database name.
  8. In order to validate Mailgun webhooks you have to configure the following system
  9. parameters:
  10. - `mailgun.apikey`: You can find Mailgun api_key in your validated sending
  11. domain.
  12. - `mailgun.api_url`: It should be fine as it is, but it could change in the
  13. future.
  14. - `mailgun.domain`: In case your sending domain is different from the one
  15. configured in `mail.catchall.domain`.
  16. - `mailgun.validation_key`: If you want to be able to check mail address
  17. validity you must config this parameter with your account Public Validation
  18. Key.
  19. You can also config partner email autocheck with this system parameter:
  20. - `mailgun.auto_check_partner_email`: Set it to True.