Skip to content

Use https://github.com/fkantelberg/mail-devel instead of mailhog #514

Description

@rrebollo

I was trying to test incoming emails in the development environment and found that there wasn't any option integrated into Doodba. After searching for a while, I came across this OCA Talk: How to Test Emails in Development, which introduced me to mail-dev.

Highlights

  • SMTP
  • IMAP
  • Simple Webmail

With the following modifications to devel.yaml (and proper setup for incoming and outgoing mail servers within the Odoo instance), I was able to perform the testing seamlessly—even alias hooks worked:

smtp:
    extends:
      file: common.yaml
      service: smtpfake
    image: fkantelberg/mail-devel
    command: ["--password", "123456"]
    networks: *public
    ports:
      - "127.0.0.1:16025:4080"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions