-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alternative for tokio-graceful-shutdown (#108)
* Replace tokio-graceful-shutdown with cancellation tokens * Update axum, rustls, rcgen and tower * Fix for dark mode
- Loading branch information
1 parent
f181d7c
commit ac26e3d
Showing
14 changed files
with
620 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,7 +94,7 @@ The web interface will also be served at [http://localhost:1080/emails/](http:// | |
|
||
### Reverse proxy | ||
|
||
See [the reverse proxy guide](./Reverse_proxy.md). | ||
See [the reverse proxy guide](./reverse_proxy.md). | ||
|
||
### Retention period | ||
|
||
|
@@ -143,6 +143,14 @@ cd backend/ | |
cargo test send_sample_messages -- --ignored | ||
``` | ||
|
||
Alternatively you can send messages using curl: | ||
|
||
```sh | ||
curl smtp://127.0.0.1:1025 --mail-from [email protected] --mail-rcpt [email protected] --upload-file samples/normal.email --user 'user:pass' | ||
# with tls | ||
curl -k --ssl-reqd smtps://127.0.0.1:1025 --mail-from [email protected] --mail-rcpt [email protected] --upload-file samples/normal.email --user 'user:pass' | ||
``` | ||
|
||
## Development | ||
|
||
Install [Rust](https://www.rust-lang.org/learn/get-started) and [Trunk](https://trunkrs.dev/) | ||
|
Oops, something went wrong.