42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
EHLO example.com
|
|
MAIL FROM: <sender@example.com>
|
|
RCPT TO: <recipient@example.com>
|
|
DATA
|
|
Subject: Your Subject
|
|
From: sender@example.com
|
|
To: recipient@example.com
|
|
MIME-Version: 1.0
|
|
Content-Type: multipart/mixed; boundary="boundary-string"
|
|
|
|
--boundary-string
|
|
Content-Type: multipart/alternative; boundary="alternative-boundary"
|
|
|
|
--alternative-boundary
|
|
Content-Type: text/plain
|
|
|
|
This is the plaintext part of the email.
|
|
|
|
--alternative-boundary
|
|
Content-Type: text/html
|
|
|
|
<html>
|
|
<body>
|
|
<p><img src="cid:part1.wUxVdgTp.JyT3JNov@localhost.dev"
|
|
moz-do-not-send="false"></p>
|
|
<p><br>
|
|
<p>This is the HTML part of the email.</p>
|
|
</body>
|
|
</html>
|
|
|
|
--alternative-boundary--
|
|
|
|
--boundary-string
|
|
Content-Type: image/svg+xml
|
|
Content-Id: <part1.wUxVdgTp.JyT3JNov@localhost.dev>
|
|
Content-Disposition: attachment; filename="42.svg"
|
|
|
|
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>42</title><path d="M24 12.42l-4.428 4.415H24zm-4.428-4.417l-4.414 4.418v4.414h4.414V12.42L24 8.003V3.575h-4.428zm-4.414 0l4.414-4.428h-4.414zM0 15.996h8.842v4.43h4.412V12.42H4.428l8.826-8.846H8.842L0 12.421z"/></svg>
|
|
|
|
--boundary-string--
|
|
.
|
|
QUIT
|