mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-28 11:44:39 +00:00

add the `proxmox-sendmail` crate that makes it easier to send mails via the `sendmail` utility. features include: - multipart/alternative support for html+plain text mails - multipart/mixed support for mails with attachments - automatic nesting of multipart/alternative and multipart/mixed parts - masks multiple receivers by default, can be disabled - encoding Subject, To, From, and attachment file names correctly - adding an `Auto-Submitted` header to avoid triggering automated mails also includes several tests to ensure that mails are formatted correctly. debian packaging is also provided. Signed-off-by: Shannon Sterz <s.sterz@proxmox.com> Reviewed-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com> [ TL: update years in d/copyright ] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 lines
390 B
TOML
17 lines
390 B
TOML
[package]
|
|
name = "proxmox-sendmail"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
exclude.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
base64 = { workspace = true }
|
|
percent-encoding = { workspace = true }
|
|
proxmox-time = { workspace = true }
|