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}--