]> git.proxmox.com Git - proxmox-perl-rs.git/commit
notify: sendmail: support the `mailto-user` parameter
authorLukas Wagner <l.wagner@proxmox.com>
Thu, 20 Jul 2023 14:31:59 +0000 (16:31 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 24 Jul 2023 09:17:41 +0000 (11:17 +0200)
commita5ee03ed0f7949e91f11ec5f7ace57e337452c63
tree744e91594d262ca9c19b7a6d8006eb0a12515908
parent79f339d1367c2045c1fba7ebb5803ddaa8b476ca
notify: sendmail: support the `mailto-user` parameter

This parameter allows to send mails to the email address configured
for users from the product's user database.

`proxmox-notify` now has a `Context` that must be set via
`proxmox_notify::context::set_context` before the crate is used.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
pve-rs/Cargo.toml
pve-rs/src/lib.rs
pve-rs/src/notify.rs