From 2e20f10ceabefdafc3b911a61b865043dd5d3d08 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 2 Aug 2019 09:15:52 +0200 Subject: [PATCH] smtp/attachment --- in/public/network/index.rst | 1 + in/public/network/smtp/index.rst | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 in/public/network/smtp/index.rst diff --git a/in/public/network/index.rst b/in/public/network/index.rst index 327e9de..a5647c0 100644 --- a/in/public/network/index.rst +++ b/in/public/network/index.rst @@ -8,4 +8,5 @@ Network curl/index hosts/index isc-dhcp-server/index + smtp/index unbound/index diff --git a/in/public/network/smtp/index.rst b/in/public/network/smtp/index.rst new file mode 100644 index 0000000..b534eac --- /dev/null +++ b/in/public/network/smtp/index.rst @@ -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}--