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

How to test emails with mailpit #1446

Open
giulio-perosino opened this issue Jul 26, 2024 · 4 comments
Open

How to test emails with mailpit #1446

giulio-perosino opened this issue Jul 26, 2024 · 4 comments

Comments

@giulio-perosino
Copy link

giulio-perosino commented Jul 26, 2024

Hello,
I'm attempting to enable the Mailpit service. I have successfully initiated the container and can access the GUI on port 8025.
The documentation in docs/development.md lacks of instructions so has left me perplexed about the next steps. How do I configure my Frappe instance to connect with the Mailpit service?

Thank you.

@WebsiteDeveloper
Copy link
Contributor

You have to setup an outgoing email account with the server as "mailpit" and the port as 1025

@giulio-perosino
Copy link
Author

Hello @WebsiteDeveloper, thank you for the assistance. To create an outgoing email account, I need to set up a domain, but I'm unsure about the values that need to be entered.

image

If I use "mailpit" as incoming and outgoing server and 1025 as port Frappe throws an error:
frappe.exceptions.ValidationError: Error connecting via IMAP/POP3: b'220 ff15acf9ec27 Mailpit ESMTP Service ready'

@WebsiteDeveloper
Copy link
Contributor

You can only use mailpit as an outgoing server per default which you need to configure in the E-Mail Account Doctype not in E-Mail Domain
If you want to use incoming Mails you would need to change the mailpit config see https://mailpit.axllent.org/docs/configuration/pop3/

Copy link
Contributor

github-actions bot commented Oct 1, 2024

This issue has been automatically marked as stale. You have a week to explain why you believe this is an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants