Skip to content
Pancake Stack
ChaptersPancake Stack Manual
Getting started
  1. 1Welcome to Pancake
  2. 2A tour of the window
  3. 3Your first site
Building sites
  1. 4Working with sites
  2. 5Files, the editor and design
  3. 6Bringing sites in
  4. 7Databases
Sharing and publishing
  1. 8Putting sites online
  2. 9On my network and local HTTPS
  3. 10Mail from your sites
  4. 11Deploying
Running your stack
  1. 12Backups and save points
  2. 13Services, tasks and workers
  3. 14The Assistant and MCP
Reference
  1. 15Settings, templates and plug-ins
  2. 16Plans and subscription
  3. 17Troubleshooting
  4. 18Privacy and your data

Pancake Stack › Pancake Stack Manual

Serve it up · Sharing and publishing

Mail from your sites

Every email your sites send lands in Pancake's Mailbox instead of real inboxes. When you're ready, send real mail through an SMTP service, and get uptime alerts on your phone.

10.1The Mailbox

Mail your sites send with PHP's mail() (which WordPress, Laravel and most PHP apps use) never leaves the Mac. It appears in the Mailbox, so you can test sign-up, order and password-reset emails safely, without spamming real people.

HTML mail is shown with JavaScript off and remote images blocked; links open in your browser.

10.2The SMTP mail catcher

Some apps don't use PHP's mail() but talk to a mail server: Django, Flask-Mail, Laravel set to smtp, Node apps. Pancake runs a small mail server on this Mac for them that delivers nothing: every message lands in the Mailbox too. It's on every plan and off until you switch on SMTP mail catcher in Services ▸ Mail; only this Mac can connect to it.

10.3Sending real mail

TallStack Pancake can also send a site's mail to the real recipients through an SMTP service. Everything is still captured in the Mailbox.

  1. Open Settings ▸ Mail. Choose your service in Fill in for…: Mailgun, Postmark, Amazon SES, SendGrid, Resend or Brevo. Pancake fills in the server, port and security.
  2. Enter the User name, Password / API key and a Default sender, such as [email protected]. Click Save.
  3. Type your address in Test address and click Send Test.
  4. In Services ▸ Mail, switch on Send for real for each site that should send real mail.
ServiceWhat to enter
MailgunUser postmaster@your-domain and its SMTP password.
PostmarkThe Server API token as both user and password.
Amazon SESSES SMTP credentials (not your AWS access key). Change the region in the server name if needed.
SendGridUser apikey and your API key.
ResendUser resend and your API key (TLS, port 465).
BrevoYour SMTP login and key.

Only mail captured after a site's relay was switched on is sent, never anything older than a day. A failed send is tried again after 1, 5 and 30 minutes. The password stays in your Keychain.

Note

Your service will only deliver mail from domains you've verified with it. Set up its SPF and DKIM records first, or messages may be rejected or land in spam.

10.4Push alerts to your phone

FullStack When a site you serve from this Mac goes down, Pancake shows a macOS notification on every plan. FullStack can also send the alert to your phone.

  1. Open Settings ▸ Push alerts and turn on Send uptime alerts to my phone.
  2. Choose a Service:
    • ntfy: keep the server https://ntfy.sh (or your own), click New Topic for a random topic name, and subscribe to it in the ntfy app. On ntfy.sh anyone who knows the topic can read it, so keep the random name.
    • Gotify: your server's address and an application token.
    • Pushover: an application API token and your user key.
  3. Click Save, then Send Test.

Alerts are sent when a site fails two checks in a row (about ten minutes) and again when it's back. Down alerts use the service's urgent priority.