opentrashmail/tools/testmail.txt

39 lines
754 B
Plaintext
Raw Normal View History

EHLO example.com
MAIL FROM: <sender@example.com>
RCPT TO: <recipient@example.com>
2023-11-11 15:41:14 +00:00
DATA
Subject: Your Subject
From: sender@example.com
To: recipient@example.com
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="boundary-string"
2023-11-11 15:41:14 +00:00
--boundary-string
Content-Type: multipart/alternative; boundary="alternative-boundary"
2023-11-11 15:41:14 +00:00
--alternative-boundary
Content-Type: text/plain
2023-11-11 15:41:14 +00:00
This is the plaintext part of the email.
2023-11-11 15:41:14 +00:00
--alternative-boundary
Content-Type: text/html
<html>
<body>
<p>This is the HTML part of the email.</p>
</body>
</html>
--alternative-boundary--
--boundary-string
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="example.txt"
(Attach the contents of your file here)
--boundary-string--
2023-11-11 15:41:14 +00:00
.
QUIT