Add examples.

This commit is contained in:
Samuel Cochran 2011-06-03 09:48:25 +08:00
parent 22d5fcaf33
commit 51042a28a8
5 changed files with 50 additions and 0 deletions

10
examples/htmlmail Normal file
View File

@ -0,0 +1,10 @@
To: Blah <blah@blah.com>
From: Me <me@sj26.com>
Subject: Test HTML Mail
Content-Type: text/html
<html>
<body>
Yo, you <em>slimey scoundrel</em>.
</body>
</html>

5
examples/mail Normal file
View File

@ -0,0 +1,5 @@
To: Blah <blah@blah.com>
From: Me <me@sj26.com>
Subject: Test mail
Test mail.

19
examples/multipartmail Normal file
View File

@ -0,0 +1,19 @@
To: Blah <blah@blah.com>
From: Me <me@sj26.com>
Subject: Test Multipart Mail
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=BOUNDARY--198849662
Header
--BOUNDARY--198849662
Content-Type: text/plain
Plain text mail
--BOUNDARY--198849662
Content-Type: text/html
<html><body><em>HTML</em> mail</body></html>
--BOUNDARY--198849662--

6
examples/plainmail Normal file
View File

@ -0,0 +1,6 @@
To: Blah <blah@blah.com>
From: Me <me@sj26.com>
Subject: Whatever
Content-Type: text/plain
Plain text mail

10
examples/xhtmlmail Normal file
View File

@ -0,0 +1,10 @@
To: Blah <blah@blah.com>
From: Me <me@sj26.com>
Subject: Test XHTML Mail
Content-Type: application/xhtml+xml
<html>
<body>
Yo, you <em>slimey scoundrel</em>.
</body>
</html>