aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/fixtures
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2006-01-23 16:37:46 +0000
committerJamis Buck <jamis@37signals.com>2006-01-23 16:37:46 +0000
commitacfb8b6191338cdb04707e2e1e8ac1cdbb595b4f (patch)
tree640479805c365dd8b1399d66cd62aa53e3cc1dee /actionmailer/test/fixtures
parent7d0d0f0edd953b099351813882d20c27607a8906 (diff)
downloadrails-acfb8b6191338cdb04707e2e1e8ac1cdbb595b4f.tar.gz
rails-acfb8b6191338cdb04707e2e1e8ac1cdbb595b4f.tar.bz2
rails-acfb8b6191338cdb04707e2e1e8ac1cdbb595b4f.zip
Make sure TMail#attachments includes anything with content-disposition of "attachment", regardless of content-type
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/test/fixtures')
-rw-r--r--actionmailer/test/fixtures/raw_email1329
1 files changed, 29 insertions, 0 deletions
diff --git a/actionmailer/test/fixtures/raw_email13 b/actionmailer/test/fixtures/raw_email13
new file mode 100644
index 0000000000..7d9314e36a
--- /dev/null
+++ b/actionmailer/test/fixtures/raw_email13
@@ -0,0 +1,29 @@
+Mime-Version: 1.0 (Apple Message framework v730)
+Content-Type: multipart/mixed; boundary=Apple-Mail-13-196941151
+Message-Id: <9169D984-4E0B-45EF-82D4-8F5E53AD7012@example.com>
+From: foo@example.com
+Subject: testing
+Date: Mon, 6 Jun 2005 22:21:22 +0200
+To: blah@example.com
+
+
+--Apple-Mail-13-196941151
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain;
+ charset=ISO-8859-1;
+ delsp=yes;
+ format=flowed
+
+This is the first part.
+
+--Apple-Mail-13-196941151
+Content-Type: text/x-ruby-script; name="hello.rb"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: attachment;
+ filename="api.rb"
+
+puts "Hello, world!"
+gets
+
+--Apple-Mail-13-196941151--
+