✅ A fast and lightweight SMTP outgoing catch-all built with Golang, designed to intercept and display all outgoing emails in a user-friendly web interface.
- Catches outgoing emails via SMTP on port 1025.
- Parses and Displays emails in a list format on
localhost:10122
. - Click on an email to view its parsed HTML and raw email data.
- Extracts links from emails and displays them in plain text.
Cartero listens for outgoing emails on SMTP port 1025, captures all email traffic, and presents a list of those emails through a local web interface. You can click on any email to see both the raw email data and its parsed HTML. Any links present in the email content are automatically extracted and displayed in plain text.
-
Clone the repository:
git clone https://github.com/tego101/cartero.git cd cartero
-
Install dependencies:
go mod tidy
-
Run the application:
go run main.go
-
Visit
http://localhost:10122
in your browser to view the captured emails.
SMTP_HOST
: The host on which Cartero listens for outgoing emails. Default islocalhost
.SMTP_PORT
: The port on which Cartero listens for outgoing emails. Default is1025
.WEB_HOST
: The host on which the web interface is served. Default islocalhost
.WEB_PORT
: The port on which the web interface is served. Default is10122
.
# .env
SMTP_PORT=1025
SMTP_HOST=0.0.0.0
WEB_PORT=10122
WEB_HOST=0.0.0.0
- Go 1.18+
- Templ
- TailwindCSS
- Alpine.js
MIT License. See the LICENSE file for more details.