smtp/attachment
This commit is contained in:
parent
b2d5dce67d
commit
2e20f10cea
2 changed files with 24 additions and 0 deletions
|
@ -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
|
||||||
|
|
23
in/public/network/smtp/index.rst
Normal file
23
in/public/network/smtp/index.rst
Normal 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}--
|
Loading…
Reference in a new issue