Holamail

Holamail is a small SMTP listener for development and test workflows. It accepts a basic SMTP conversation, logs the received message, and does not deliver mail to external recipients.

What It Implements

Holamail accepts raw SMTP connections and supports these commands:

  • HELO / EHLO
  • MAIL FROM
  • RCPT TO
  • DATA
  • QUIT

It does not provide an HTTP API, external delivery, STARTTLS, AUTH, rate limiting, templates, analytics, or tracking.

How It Works

Applications connect with a plain SMTP client. Holamail records the envelope and message data in its logs for inspection.

1┌──────────────┐    SMTP    ┌───────────┐
2│  Application │───────────▶│ Holamail  │──▶ logs message
3└──────────────┘            └───────────┘

Getting Started

Use the public test host or a local instance:

1swaks --to user@example.com \
2      --from noreply@example.com \
3      --server smtp.testmail.hola.cloud \
4      --port 25 \
5      --header "Subject: Holamail test" \
6      --body "Hello from Holamail."

For a local listener:

1swaks --to user@example.com \
2      --from noreply@example.com \
3      --server localhost \
4      --port 2525 \
5      --header "Subject: Local Holamail test" \
6      --body "Hello from a local Holamail listener."

Comments

Leave a comment