Connect your app
Connect your app
Point your app's mail, SMS and payment settings at SendMock.
The demo's Settings > Connection shows the same snippets for each language.
SendMock speaks the protocols your app already uses, so connecting is a settings change, not a code change:
| What | Point it at |
|---|---|
| Email over SMTP | host 127.0.0.1, port 1025, no TLS, any username and password |
| Email or SMS provider SDKs | the provider port http://127.0.0.1:8026 as the SDK's base URL (email, SMS) |
| SendMock's own API | http://127.0.0.1:8025/api/v1 (API reference) |
| Your webhooks | an endpoint in Webhooks pointing at your app (webhooks) |
When your app or SendMock runs in Docker, the address changes; Docker shows which one to use, with Compose, CI and webhook examples.
Pick your language:
Running in containers: