Add script for sending test message
This commit is contained in:
@@ -62,11 +62,11 @@ The command prints `SMTP_CONNECTION_OK` only after the SMTP server accepts the S
|
||||
|
||||
6. Send a delivery test to an inbox you control:
|
||||
|
||||
```powershell
|
||||
.\scripts\test-smtp.ps1 -To you@example.com
|
||||
```sh
|
||||
python ./scripts/send-test-email.py --to you@example.com
|
||||
```
|
||||
|
||||
The command prints `SMTP_TEST_SENT_TO=<address>` only after the SMTP server accepts the message. Confirm the message arrives, then use **Forgot your password?** in the application to verify a real reset email and link.
|
||||
The command works on Windows, Linux, and macOS. It prints `SMTP_TEST_SENT_TO=<address>` only after the SMTP server accepts the message. Confirm the message arrives, then use **Forgot your password?** in the application to verify a real reset email and link. The existing PowerShell alternative remains available as `./scripts/test-smtp.ps1 -To you@example.com`.
|
||||
|
||||
## Production notes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user