Skip to content

Open-source document signature platform. Not affiliated with DocuSign.

TypeScript

docs: clarify email capture for local production builds

Chirag Sharmac04f51aa5c97
diff --git a/docs/development.md b/docs/development.md
index ea806a7..acc085f 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -106,7 +106,7 @@ SignuDoc sends transactional email through Resend.
- `RESEND_FROM_EMAIL` and `SUPPORT_EMAIL` are optional. When set they take the place of the addresses saved in Settings, which then cannot be changed there, and with `SUPPORT_EMAIL` set the setup page does not ask for a support address.
- Until a sender address is set, mail goes out from `[email protected]`, which Resend only delivers to the owner of the Resend account.
- In hosted mode the support address is also the contact shown on the Terms, Privacy, and Accessibility pages.
-- For local development, `EMAIL_DRIVER=capture` writes each email to `.data/outbox` as a JSON file instead of sending it. Open the newest file to find a verification or signing link. This driver refuses to run in production.
+- For local development, `EMAIL_DRIVER=capture` writes each email to `.data/outbox` as a JSON file instead of sending it. Open the newest file to find a verification or signing link. You can also use capture to test a production build locally: set `APP_URL=http://localhost:3000` and `EMAIL_DRIVER=capture` when running `npm run start` after `npm run build`. Use a delivery provider for deployed sites that need to send email.
## Upload constraints