Hanzo
PlatformHanzo IAMProvidersEmail

Mailpit email

Use Mailpit as a local SMTP server for testing.

Mailpit is a test SMTP server that catches outgoing mail. By default it listens on 127.0.0.1:1025 with no TLS or auth.

Run Mailpit

Start the Mailpit service so the SMTP server is available at 127.0.0.1:1025 (or your configured host/port).

Mailpit configuration

Create the email provider in Hanzo IAM

ProvidersAdd. Set Category to Email, Type to the appropriate SMTP option. Set Host and Port to match Mailpit (e.g. 127.0.0.1, 1025). Leave Username and Password empty if Mailpit has no auth. Save.

Mailpit email provider

Test

Use Test SMTP Connection; you should see “SMTP connected successfully”. Use Send Testing Email; you should see “Email sent successfully” and the message in Mailpit’s UI.

Sending a test email using Mailpit Receiving a test email using Mailpit

How is this guide?

Last updated on

On this page