Skip to content

testing_with_email

KernelDeimos edited this page Feb 25, 2025 · 1 revision

Testing with Email

Testing anything involving email is really simple using mailhog

Step 1: Configure email service

In your config.json for Puter (volatile/config/config.json usually, /var/puter/config.json in containers), add this entry to the "services" map:

    "services": {
        
        // ... there are probably other service configs
        
        "email": {
            "host": "localhost",
            "port": 1025
        }
    }

Step 2: Install and run mailhog

Follow the instructions on MailHog's repository, or install through your distro's package manager.

Run the command: mailhog.

You should now have an inbox at http://127.0.0.1:8025.

Every email that Puter sends will show up on this page.

General

API

Concepts

Types

For Contributors

Extensions

Devmeta

Planning

Self_hosters

Src

Backend

A_and_A

For Contributors

Features

Lists_of_things

Modules

Puterai

Notes

Services

Src

Modules
Puterai

####### For Contributors

Test_drivers

Gui

Phoenix

Tools

Api_tester

Uncategorized

Clone this wiki locally