rtfd/in/public/network/smtp/index.rst
2019-08-06 09:56:24 +02:00

23 lines
467 B
ReStructuredText

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
${base64}
--${separator}--