2019-08-02 07:15:52 +00:00
|
|
|
smtp
|
|
|
|
====
|
|
|
|
|
|
|
|
Email with attachment
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-08-06 07:54:00 +00:00
|
|
|
Content-Type: multipart/mixed; boundary="${separator}"; charset="utf8"
|
2019-08-02 07:15:52 +00:00
|
|
|
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
|
|
|
|
|
2019-08-06 07:56:24 +00:00
|
|
|
${base64}
|
2019-08-02 07:15:52 +00:00
|
|
|
--${separator}--
|