From: Hannes Laimer <h.laimer@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox v3 0/1] sendmail function
Date: Wed, 26 Aug 2020 08:54:38 +0200 [thread overview]
Message-ID: <20200826065439.20372-1-h.laimer@proxmox.com> (raw)
Small function to send a multi-part mail to a list of recipients.
v3:
- adjusted mail regex to allow '-'
- localtime instead of utc
- only add boundary and MIME-Version if needed
v2:
- encoded subject
- added date to header
- content-type: multipart only if html and text is specified
- 'UTF8' -> 'UTF-8'
Hannes Laimer (1):
email: add small function to send multi-part emails using sendmail
proxmox/src/tools/email.rs | 143 +++++++++++++++++++++++++++++++++++++
proxmox/src/tools/mod.rs | 1 +
2 files changed, 144 insertions(+)
create mode 100644 proxmox/src/tools/email.rs
--
2.20.1
next reply other threads:[~2020-08-26 6:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-26 6:54 Hannes Laimer [this message]
2020-08-26 6:54 ` [pbs-devel] [PATCH proxmox v3 1/1] email: add small function to send multi-part emails using sendmail Hannes Laimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200826065439.20372-1-h.laimer@proxmox.com \
--to=h.laimer@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.