Connect Your App
Use these SMTP settings in your application:
| Setting | Value |
|---|---|
| Host | 127.0.0.1 |
| Port | 2525 |
| TLS | Disabled by default |
| Authentication | Optional |
Then open http://127.0.0.1:3000 to inspect captured messages.
Nodemailer
Section titled “Nodemailer”import nodemailer from 'nodemailer';
const transport = nodemailer.createTransport({ host: '127.0.0.1', port: 2525, secure: false});
await transport.sendMail({ from: 'sender@example.com', to: 'recipient@example.com', subject: 'Hello from inbrx', text: 'This email was captured locally.'});Generic SMTP
Section titled “Generic SMTP”Most frameworks expose the same core settings:
SMTP_HOST=127.0.0.1SMTP_PORT=2525SMTP_TLS=falseIf your framework requires SMTP credentials, use any username and password. inbrx accepts authentication but does not require it.