public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox v3 0/1] sendmail function
@ 2020-08-26  6:54 Hannes Laimer
  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
  0 siblings, 1 reply; 2+ messages in thread
From: Hannes Laimer @ 2020-08-26  6:54 UTC (permalink / raw)
  To: pbs-devel

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-26  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26  6:54 [pbs-devel] [PATCH proxmox v3 0/1] sendmail function Hannes Laimer
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal