rtfd/in/public/smtp/index.rst
Marc Beninca b88b8cff79 smtp
2019-08-25 12:15:52 +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}--