Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rrebollo opened this issue Jan 16, 2025 · 5 comments
Open

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

rrebollo opened this issue Jan 16, 2025 · 5 comments
Labels
enhancement New feature or request

Comments

@rrebollo
Copy link

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"
@rrebollo rrebollo added the enhancement New feature or request label Jan 16, 2025
@rrebollo
Copy link
Author

@fkantelberg great work!!! Maybe you can improve docs a little.

@pedrobaeza
Copy link
Member

Yeah, interesting, for both devel and demo. Is that Docker image the original one, or a fork?

cc @josep-tecnativa

@chienandalu
Copy link
Member

This is so cool!

@fkantelberg
Copy link

fkantelberg commented Jan 16, 2025

@rrebollo Thank you.

What information do you need in the documentation? I should really link the docker image and pypi package in the readme for sure. But the linked one is the original

@rrebollo
Copy link
Author

@fkantelberg look at fkantelberg/mail-devel#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants