mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-12-21 23:08:54 -05:00
Add examples.
This commit is contained in:
parent
22d5fcaf33
commit
51042a28a8
10
examples/htmlmail
Normal file
10
examples/htmlmail
Normal 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
5
examples/mail
Normal 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
19
examples/multipartmail
Normal 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
6
examples/plainmail
Normal 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
10
examples/xhtmlmail
Normal 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>
|
Loading…
Reference in New Issue
Block a user