smtp/attachment

This commit is contained in:
Marc Beninca 2019-08-02 09:15:52 +02:00
parent b2d5dce67d
commit 2e20f10cea
2 changed files with 24 additions and 0 deletions

View file

@ -8,4 +8,5 @@ Network
curl/index curl/index
hosts/index hosts/index
isc-dhcp-server/index isc-dhcp-server/index
smtp/index
unbound/index unbound/index

View file

@ -0,0 +1,23 @@
smtp
====
Email with attachment
---------------------
::
Content-Type: multipart/mixed; boundary=${separator}; charset="utf8"
From: first.last@sub.domain.tld
To: first.last@sub.domain.tld
Subject: Email subject
--${separator}
Content-Type: text/plain; charset="utf8"
Email body
--${separator}
Content-Disposition: attachment; filename="file name"
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream
--${separator}--