actionmailer-rack-upgrade 2.3.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. data/CHANGELOG +387 -0
  2. data/MIT-LICENSE +21 -0
  3. data/README +149 -0
  4. data/Rakefile +97 -0
  5. data/install.rb +30 -0
  6. data/lib/action_mailer/adv_attr_accessor.rb +30 -0
  7. data/lib/action_mailer/base.rb +739 -0
  8. data/lib/action_mailer/helpers.rb +113 -0
  9. data/lib/action_mailer/mail_helper.rb +17 -0
  10. data/lib/action_mailer/part.rb +107 -0
  11. data/lib/action_mailer/part_container.rb +55 -0
  12. data/lib/action_mailer/quoting.rb +62 -0
  13. data/lib/action_mailer/test_case.rb +64 -0
  14. data/lib/action_mailer/test_helper.rb +68 -0
  15. data/lib/action_mailer/utils.rb +7 -0
  16. data/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +1466 -0
  17. data/lib/action_mailer/vendor/text_format.rb +10 -0
  18. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/Makefile +18 -0
  19. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/address.rb +392 -0
  20. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/attachments.rb +65 -0
  21. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/base64.rb +46 -0
  22. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/compat.rb +41 -0
  23. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/config.rb +67 -0
  24. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/core_extensions.rb +63 -0
  25. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/encode.rb +590 -0
  26. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb +962 -0
  27. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/index.rb +9 -0
  28. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/interface.rb +1162 -0
  29. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/loader.rb +3 -0
  30. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/mail.rb +578 -0
  31. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/mailbox.rb +496 -0
  32. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/main.rb +6 -0
  33. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/mbox.rb +3 -0
  34. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/net.rb +250 -0
  35. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/obsolete.rb +132 -0
  36. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/parser.rb +1060 -0
  37. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/parser.y +416 -0
  38. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/port.rb +379 -0
  39. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/quoting.rb +164 -0
  40. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/require_arch.rb +58 -0
  41. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/scanner.rb +49 -0
  42. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/scanner_r.rb +262 -0
  43. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/stringio.rb +280 -0
  44. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/utils.rb +362 -0
  45. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/COPYING +504 -0
  46. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/README +12 -0
  47. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/big5freq.rb +927 -0
  48. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/big5prober.rb +42 -0
  49. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/chardistribution.rb +238 -0
  50. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/charsetgroupprober.rb +112 -0
  51. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/charsetprober.rb +75 -0
  52. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/codingstatemachine.rb +64 -0
  53. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/constants.rb +42 -0
  54. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/escprober.rb +89 -0
  55. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/escsm.rb +244 -0
  56. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/eucjpprober.rb +88 -0
  57. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euckrfreq.rb +596 -0
  58. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euckrprober.rb +42 -0
  59. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euctwfreq.rb +430 -0
  60. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euctwprober.rb +42 -0
  61. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/gb2312freq.rb +474 -0
  62. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/gb2312prober.rb +42 -0
  63. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/hebrewprober.rb +289 -0
  64. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/jisfreq.rb +570 -0
  65. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/jpcntx.rb +229 -0
  66. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langbulgarianmodel.rb +229 -0
  67. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langcyrillicmodel.rb +330 -0
  68. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langgreekmodel.rb +227 -0
  69. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langhebrewmodel.rb +202 -0
  70. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langhungarianmodel.rb +226 -0
  71. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langthaimodel.rb +201 -0
  72. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/latin1prober.rb +147 -0
  73. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcharsetprober.rb +89 -0
  74. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcsgroupprober.rb +45 -0
  75. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcssm.rb +542 -0
  76. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcharsetprober.rb +124 -0
  77. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcsgroupprober.rb +56 -0
  78. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sjisprober.rb +88 -0
  79. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/universaldetector.rb +168 -0
  80. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/utf8prober.rb +87 -0
  81. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet.rb +67 -0
  82. data/lib/action_mailer/vendor/tmail-1.2.7/tmail/version.rb +39 -0
  83. data/lib/action_mailer/vendor/tmail-1.2.7/tmail.rb +6 -0
  84. data/lib/action_mailer/vendor/tmail.rb +17 -0
  85. data/lib/action_mailer/version.rb +9 -0
  86. data/lib/action_mailer.rb +62 -0
  87. data/lib/actionmailer.rb +2 -0
  88. data/test/abstract_unit.rb +62 -0
  89. data/test/asset_host_test.rb +54 -0
  90. data/test/delivery_method_test.rb +51 -0
  91. data/test/fixtures/asset_host_mailer/email_with_asset.html.erb +1 -0
  92. data/test/fixtures/auto_layout_mailer/hello.html.erb +1 -0
  93. data/test/fixtures/auto_layout_mailer/multipart.text.html.erb +1 -0
  94. data/test/fixtures/auto_layout_mailer/multipart.text.plain.erb +1 -0
  95. data/test/fixtures/explicit_layout_mailer/logout.html.erb +1 -0
  96. data/test/fixtures/explicit_layout_mailer/signup.html.erb +1 -0
  97. data/test/fixtures/first_mailer/share.erb +1 -0
  98. data/test/fixtures/helper_mailer/use_example_helper.erb +1 -0
  99. data/test/fixtures/helper_mailer/use_helper.erb +1 -0
  100. data/test/fixtures/helper_mailer/use_helper_method.erb +1 -0
  101. data/test/fixtures/helper_mailer/use_mail_helper.erb +5 -0
  102. data/test/fixtures/helpers/example_helper.rb +5 -0
  103. data/test/fixtures/layouts/auto_layout_mailer.html.erb +1 -0
  104. data/test/fixtures/layouts/auto_layout_mailer.text.erb +1 -0
  105. data/test/fixtures/layouts/spam.html.erb +1 -0
  106. data/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb +1 -0
  107. data/test/fixtures/raw_email +14 -0
  108. data/test/fixtures/raw_email10 +20 -0
  109. data/test/fixtures/raw_email12 +32 -0
  110. data/test/fixtures/raw_email13 +29 -0
  111. data/test/fixtures/raw_email2 +114 -0
  112. data/test/fixtures/raw_email3 +70 -0
  113. data/test/fixtures/raw_email4 +59 -0
  114. data/test/fixtures/raw_email5 +19 -0
  115. data/test/fixtures/raw_email6 +20 -0
  116. data/test/fixtures/raw_email7 +66 -0
  117. data/test/fixtures/raw_email8 +47 -0
  118. data/test/fixtures/raw_email9 +28 -0
  119. data/test/fixtures/raw_email_quoted_with_0d0a +14 -0
  120. data/test/fixtures/raw_email_with_invalid_characters_in_content_type +104 -0
  121. data/test/fixtures/raw_email_with_nested_attachment +100 -0
  122. data/test/fixtures/raw_email_with_partially_quoted_subject +14 -0
  123. data/test/fixtures/second_mailer/share.erb +1 -0
  124. data/test/fixtures/templates/signed_up.erb +3 -0
  125. data/test/fixtures/test_mailer/_subtemplate.text.plain.erb +1 -0
  126. data/test/fixtures/test_mailer/body_ivar.erb +2 -0
  127. data/test/fixtures/test_mailer/custom_templating_extension.text.html.haml +6 -0
  128. data/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml +6 -0
  129. data/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb +1 -0
  130. data/test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak +1 -0
  131. data/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb +10 -0
  132. data/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb~ +10 -0
  133. data/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb +2 -0
  134. data/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb +1 -0
  135. data/test/fixtures/test_mailer/included_subtemplate.text.plain.erb +1 -0
  136. data/test/fixtures/test_mailer/rxml_template.builder +2 -0
  137. data/test/fixtures/test_mailer/rxml_template.rxml +2 -0
  138. data/test/fixtures/test_mailer/signed_up.html.erb +3 -0
  139. data/test/fixtures/test_mailer/signed_up_with_url.erb +5 -0
  140. data/test/mail_helper_test.rb +95 -0
  141. data/test/mail_layout_test.rb +123 -0
  142. data/test/mail_render_test.rb +116 -0
  143. data/test/mail_service_test.rb +1145 -0
  144. data/test/quoting_test.rb +105 -0
  145. data/test/test_helper_test.rb +129 -0
  146. data/test/tmail_test.rb +22 -0
  147. data/test/url_test.rb +76 -0
  148. metadata +209 -0
@@ -0,0 +1,54 @@
1
+ require 'abstract_unit'
2
+
3
+ class AssetHostMailer < ActionMailer::Base
4
+ def email_with_asset(recipient)
5
+ recipients recipient
6
+ subject "testing email containing asset path while asset_host is set"
7
+ from "tester@example.com"
8
+ end
9
+ end
10
+
11
+ class AssetHostTest < Test::Unit::TestCase
12
+ def setup
13
+ set_delivery_method :test
14
+ ActionMailer::Base.perform_deliveries = true
15
+ ActionMailer::Base.deliveries = []
16
+
17
+ @recipient = 'test@localhost'
18
+ end
19
+
20
+ def teardown
21
+ restore_delivery_method
22
+ end
23
+
24
+ def test_asset_host_as_string
25
+ ActionController::Base.asset_host = "http://www.example.com"
26
+ mail = AssetHostMailer.deliver_email_with_asset(@recipient)
27
+ assert_equal "<img alt=\"Somelogo\" src=\"http://www.example.com/images/somelogo.png\" />", mail.body.strip
28
+ end
29
+
30
+ def test_asset_host_as_one_arguement_proc
31
+ ActionController::Base.asset_host = Proc.new { |source|
32
+ if source.starts_with?('/images')
33
+ "http://images.example.com"
34
+ else
35
+ "http://assets.example.com"
36
+ end
37
+ }
38
+ mail = AssetHostMailer.deliver_email_with_asset(@recipient)
39
+ assert_equal "<img alt=\"Somelogo\" src=\"http://images.example.com/images/somelogo.png\" />", mail.body.strip
40
+ end
41
+
42
+ def test_asset_host_as_two_arguement_proc
43
+ ActionController::Base.asset_host = Proc.new {|source,request|
44
+ if request && request.ssl?
45
+ "https://www.example.com"
46
+ else
47
+ "http://www.example.com"
48
+ end
49
+ }
50
+ mail = nil
51
+ assert_nothing_raised { mail = AssetHostMailer.deliver_email_with_asset(@recipient) }
52
+ assert_equal "<img alt=\"Somelogo\" src=\"http://www.example.com/images/somelogo.png\" />", mail.body.strip
53
+ end
54
+ end
@@ -0,0 +1,51 @@
1
+ require 'abstract_unit'
2
+
3
+ class DefaultDeliveryMethodMailer < ActionMailer::Base
4
+ end
5
+
6
+ class NonDefaultDeliveryMethodMailer < ActionMailer::Base
7
+ self.delivery_method = :sendmail
8
+ end
9
+
10
+ class ActionMailerBase_delivery_method_Test < Test::Unit::TestCase
11
+ def setup
12
+ set_delivery_method :smtp
13
+ end
14
+
15
+ def teardown
16
+ restore_delivery_method
17
+ end
18
+
19
+ def test_should_be_the_default_smtp
20
+ assert_equal :smtp, ActionMailer::Base.delivery_method
21
+ end
22
+ end
23
+
24
+ class DefaultDeliveryMethodMailer_delivery_method_Test < Test::Unit::TestCase
25
+ def setup
26
+ set_delivery_method :smtp
27
+ end
28
+
29
+ def teardown
30
+ restore_delivery_method
31
+ end
32
+
33
+ def test_should_be_the_default_smtp
34
+ assert_equal :smtp, DefaultDeliveryMethodMailer.delivery_method
35
+ end
36
+ end
37
+
38
+ class NonDefaultDeliveryMethodMailer_delivery_method_Test < Test::Unit::TestCase
39
+ def setup
40
+ set_delivery_method :smtp
41
+ end
42
+
43
+ def teardown
44
+ restore_delivery_method
45
+ end
46
+
47
+ def test_should_be_the_set_delivery_method
48
+ assert_equal :sendmail, NonDefaultDeliveryMethodMailer.delivery_method
49
+ end
50
+ end
51
+
@@ -0,0 +1 @@
1
+ <%= image_tag "somelogo.png" %>
@@ -0,0 +1 @@
1
+ Inside
@@ -0,0 +1 @@
1
+ text/html multipart
@@ -0,0 +1 @@
1
+ text/plain multipart
@@ -0,0 +1 @@
1
+ You logged out
@@ -0,0 +1 @@
1
+ We do not spam
@@ -0,0 +1 @@
1
+ first mail
@@ -0,0 +1 @@
1
+ So, <%= example_format(@text) %>
@@ -0,0 +1 @@
1
+ Hello, <%= person_name %>. Thanks for registering!
@@ -0,0 +1 @@
1
+ This message brought to you by <%= name_of_the_mailer_class %>.
@@ -0,0 +1,5 @@
1
+ From "Romeo and Juliet":
2
+
3
+ <%= block_format @text %>
4
+
5
+ Good ol' Shakespeare.
@@ -0,0 +1,5 @@
1
+ module ExampleHelper
2
+ def example_format(text)
3
+ "<em><strong><small>#{h(text)}</small></strong></em>".html_safe
4
+ end
5
+ end
@@ -0,0 +1 @@
1
+ Hello from layout <%= yield %>
@@ -0,0 +1 @@
1
+ text/plain layout - <%= yield %>
@@ -0,0 +1 @@
1
+ Spammer layout <%= yield %>
@@ -0,0 +1 @@
1
+ Have a lovely picture, from me. Enjoy!
@@ -0,0 +1,14 @@
1
+ From jamis_buck@byu.edu Mon May 2 16:07:05 2005
2
+ Mime-Version: 1.0 (Apple Message framework v622)
3
+ Content-Transfer-Encoding: base64
4
+ Message-Id: <d3b8cf8e49f04480850c28713a1f473e@37signals.com>
5
+ Content-Type: text/plain;
6
+ charset=EUC-KR;
7
+ format=flowed
8
+ To: willard15georgina@jamis.backpackit.com
9
+ From: Jamis Buck <jamis@37signals.com>
10
+ Subject: =?EUC-KR?Q?NOTE:_=C7=D1=B1=B9=B8=BB=B7=CE_=C7=CF=B4=C2_=B0=CD?=
11
+ Date: Mon, 2 May 2005 16:07:05 -0600
12
+
13
+ tOu6zrrQwMcguLbC+bChwfa3ziwgv+y4rrTCIMfPs6q01MC7ILnPvcC0z7TZLg0KDQrBpiDAzLin
14
+ wLogSmFtaXPA1LTPtNku
@@ -0,0 +1,20 @@
1
+ Return-Path: <xxx@xxxx.xxx>
2
+ Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id C1B953B4CB6 for <xxxxx@Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:05 -0500
3
+ Received: from SMS-GTYxxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id ca for <xxxxx@Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:04 -0500
4
+ Received: from xxx.xxxx.xxx by SMS-GTYxxx.xxxx.xxx with ESMTP id j4AKR3r23323 for <xxxxx@Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:03 -0500
5
+ Date: Tue, 10 May 2005 15:27:03 -0500
6
+ From: xxx@xxxx.xxx
7
+ Sender: xxx@xxxx.xxx
8
+ To: xxxxxxxxxxx@xxxx.xxxx.xxx
9
+ Message-Id: <xxx@xxxx.xxx>
10
+ X-Original-To: xxxxxxxxxxx@xxxx.xxxx.xxx
11
+ Delivered-To: xxx@xxxx.xxx
12
+ Importance: normal
13
+ Content-Type: text/plain; charset=X-UNKNOWN
14
+
15
+ Test test. Hi. Waving. m
16
+
17
+ ----------------------------------------------------------------
18
+ Sent via Bell Mobility's Text Messaging service.
19
+ Envoyé par le service de messagerie texte de Bell Mobilité.
20
+ ----------------------------------------------------------------
@@ -0,0 +1,32 @@
1
+ Mime-Version: 1.0 (Apple Message framework v730)
2
+ Content-Type: multipart/mixed; boundary=Apple-Mail-13-196941151
3
+ Message-Id: <9169D984-4E0B-45EF-82D4-8F5E53AD7012@example.com>
4
+ From: foo@example.com
5
+ Subject: testing
6
+ Date: Mon, 6 Jun 2005 22:21:22 +0200
7
+ To: blah@example.com
8
+
9
+
10
+ --Apple-Mail-13-196941151
11
+ Content-Transfer-Encoding: quoted-printable
12
+ Content-Type: text/plain;
13
+ charset=ISO-8859-1;
14
+ delsp=yes;
15
+ format=flowed
16
+
17
+ This is the first part.
18
+
19
+ --Apple-Mail-13-196941151
20
+ Content-Type: image/jpeg
21
+ Content-Transfer-Encoding: base64
22
+ Content-Location: Photo25.jpg
23
+ Content-ID: <qbFGyPQAS8>
24
+ Content-Disposition: inline
25
+
26
+ jamisSqGSIb3DQEHAqCAMIjamisxCzAJBgUrDgMCGgUAMIAGCSqGSjamisEHAQAAoIIFSjCCBUYw
27
+ ggQujamisQICBD++ukQwDQYJKojamisNAQEFBQAwMTELMAkGA1UEBhMCRjamisAKBgNVBAoTA1RE
28
+ QzEUMBIGjamisxMLVERDIE9DRVMgQ0jamisNMDQwMjI5MTE1OTAxWhcNMDYwMjamisIyOTAxWjCB
29
+ gDELMAkGA1UEjamisEsxKTAnBgNVBAoTIEjamisuIG9yZ2FuaXNhdG9yaXNrIHRpbjamisRuaW5=
30
+
31
+ --Apple-Mail-13-196941151--
32
+
@@ -0,0 +1,29 @@
1
+ Mime-Version: 1.0 (Apple Message framework v730)
2
+ Content-Type: multipart/mixed; boundary=Apple-Mail-13-196941151
3
+ Message-Id: <9169D984-4E0B-45EF-82D4-8F5E53AD7012@example.com>
4
+ From: foo@example.com
5
+ Subject: testing
6
+ Date: Mon, 6 Jun 2005 22:21:22 +0200
7
+ To: blah@example.com
8
+
9
+
10
+ --Apple-Mail-13-196941151
11
+ Content-Transfer-Encoding: quoted-printable
12
+ Content-Type: text/plain;
13
+ charset=ISO-8859-1;
14
+ delsp=yes;
15
+ format=flowed
16
+
17
+ This is the first part.
18
+
19
+ --Apple-Mail-13-196941151
20
+ Content-Type: text/x-ruby-script; name="hello.rb"
21
+ Content-Transfer-Encoding: 7bit
22
+ Content-Disposition: attachment;
23
+ filename="api.rb"
24
+
25
+ puts "Hello, world!"
26
+ gets
27
+
28
+ --Apple-Mail-13-196941151--
29
+
@@ -0,0 +1,114 @@
1
+ From xxxxxxxxx.xxxxxxx@gmail.com Sun May 8 19:07:09 2005
2
+ Return-Path: <xxxxxxxxx.xxxxxxx@gmail.com>
3
+ X-Original-To: xxxxx@xxxxx.xxxxxxxxx.com
4
+ Delivered-To: xxxxx@xxxxx.xxxxxxxxx.com
5
+ Received: from localhost (localhost [127.0.0.1])
6
+ by xxxxx.xxxxxxxxx.com (Postfix) with ESMTP id 06C9DA98D
7
+ for <xxxxx@xxxxx.xxxxxxxxx.com>; Sun, 8 May 2005 19:09:13 +0000 (GMT)
8
+ Received: from xxxxx.xxxxxxxxx.com ([127.0.0.1])
9
+ by localhost (xxxxx.xxxxxxxxx.com [127.0.0.1]) (amavisd-new, port 10024)
10
+ with LMTP id 88783-08 for <xxxxx@xxxxx.xxxxxxxxx.com>;
11
+ Sun, 8 May 2005 19:09:12 +0000 (GMT)
12
+ Received: from xxxxxxx.xxxxxxxxx.com (xxxxxxx.xxxxxxxxx.com [69.36.39.150])
13
+ by xxxxx.xxxxxxxxx.com (Postfix) with ESMTP id 10D8BA960
14
+ for <xxxxx@xxxxxxxxx.org>; Sun, 8 May 2005 19:09:12 +0000 (GMT)
15
+ Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199])
16
+ by xxxxxxx.xxxxxxxxx.com (Postfix) with ESMTP id 9EBC4148EAB
17
+ for <xxxxx@xxxxxxxxx.com>; Sun, 8 May 2005 14:09:11 -0500 (CDT)
18
+ Received: by zproxy.gmail.com with SMTP id 13so1233405nzp
19
+ for <xxxxx@xxxxxxxxx.com>; Sun, 08 May 2005 12:09:11 -0700 (PDT)
20
+ DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
21
+ s=beta; d=gmail.com;
22
+ h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references;
23
+ b=cid1mzGEFa3gtRa06oSrrEYfKca2CTKu9sLMkWxjbvCsWMtp9RGEILjUz0L5RySdH5iO661LyNUoHRFQIa57bylAbXM3g2DTEIIKmuASDG3x3rIQ4sHAKpNxP7Pul+mgTaOKBv+spcH7af++QEJ36gHFXD2O/kx9RePs3JNf/K8=
24
+ Received: by 10.36.10.16 with SMTP id 16mr1012493nzj;
25
+ Sun, 08 May 2005 12:09:11 -0700 (PDT)
26
+ Received: by 10.36.5.10 with HTTP; Sun, 8 May 2005 12:09:11 -0700 (PDT)
27
+ Message-ID: <e85734b90505081209eaaa17b@mail.gmail.com>
28
+ Date: Sun, 8 May 2005 14:09:11 -0500
29
+ From: xxxxxxxxx xxxxxxx <xxxxxxxxx.xxxxxxx@gmail.com>
30
+ Reply-To: xxxxxxxxx xxxxxxx <xxxxxxxxx.xxxxxxx@gmail.com>
31
+ To: xxxxx xxxx <xxxxx@xxxxxxxxx.com>
32
+ Subject: Fwd: Signed email causes file attachments
33
+ In-Reply-To: <F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13@mac.com>
34
+ Mime-Version: 1.0
35
+ Content-Type: multipart/mixed;
36
+ boundary="----=_Part_5028_7368284.1115579351471"
37
+ References: <F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13@mac.com>
38
+
39
+ ------=_Part_5028_7368284.1115579351471
40
+ Content-Type: text/plain; charset=ISO-8859-1
41
+ Content-Transfer-Encoding: quoted-printable
42
+ Content-Disposition: inline
43
+
44
+ We should not include these files or vcards as attachments.
45
+
46
+ ---------- Forwarded message ----------
47
+ From: xxxxx xxxxxx <xxxxxxxx@xxx.com>
48
+ Date: May 8, 2005 1:17 PM
49
+ Subject: Signed email causes file attachments
50
+ To: xxxxxxx@xxxxxxxxxx.com
51
+
52
+
53
+ Hi,
54
+
55
+ Just started to use my xxxxxxxx account (to set-up a GTD system,
56
+ natch) and noticed that when I send content via email the signature/
57
+ certificate from my email account gets added as a file (e.g.
58
+ "smime.p7s").
59
+
60
+ Obviously I can uncheck the signature option in the Mail compose
61
+ window but how often will I remember to do that?
62
+
63
+ Is there any way these kind of files could be ignored, e.g. via some
64
+ sort of exclusions list?
65
+
66
+ ------=_Part_5028_7368284.1115579351471
67
+ Content-Type: application/pkcs7-signature; name=smime.p7s
68
+ Content-Transfer-Encoding: base64
69
+ Content-Disposition: attachment; filename="smime.p7s"
70
+
71
+ MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGFDCCAs0w
72
+ ggI2oAMCAQICAw5c+TANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
73
+ d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
74
+ YWlsIElzc3VpbmcgQ0EwHhcNMDUwMzI5MDkzOTEwWhcNMDYwMzI5MDkzOTEwWjBCMR8wHQYDVQQD
75
+ ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzbWhhdW5jaEBtYWMuY29t
76
+ MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAn90dPsYS3LjfMY211OSYrDQLzwNYPlAL
77
+ 7+/0XA+kdy8/rRnyEHFGwhNCDmg0B6pxC7z3xxJD/8GfCd+IYUUNUQV5m9MkxfP9pTVXZVIYLaBw
78
+ o8xS3A0a1LXealcmlEbJibmKkEaoXci3MhryLgpaa+Kk/sH02SNatDO1vS28bPsibZpcc6deFrla
79
+ hSYnL+PW54mDTGHIcCN2fbx/Y6qspzqmtKaXrv75NBtuy9cB6KzU4j2xXbTkAwz3pRSghJJaAwdp
80
+ +yIivAD3vr0kJE3p+Ez34HMh33EXEpFoWcN+MCEQZD9WnmFViMrvfvMXLGVFQfAAcC060eGFSRJ1
81
+ ZQ9UVQIDAQABoy0wKzAbBgNVHREEFDASgRBzbWhhdW5jaEBtYWMuY29tMAwGA1UdEwEB/wQCMAAw
82
+ DQYJKoZIhvcNAQEEBQADgYEAQMrg1n2pXVWteP7BBj+Pk3UfYtbuHb42uHcLJjfjnRlH7AxnSwrd
83
+ L3HED205w3Cq8T7tzVxIjRRLO/ljq0GedSCFBky7eYo1PrXhztGHCTSBhsiWdiyLWxKlOxGAwJc/
84
+ lMMnwqLOdrQcoF/YgbjeaUFOQbUh94w9VDNpWZYCZwcwggM/MIICqKADAgECAgENMA0GCSqGSIb3
85
+ DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlD
86
+ YXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0
87
+ aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwg
88
+ Q0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3
89
+ MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENv
90
+ bnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElz
91
+ c3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f
92
+ 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYk
93
+ KhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGj
94
+ gZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRo
95
+ YXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0R
96
+ BCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM
97
+ 0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZ
98
+ GwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZ
99
+ Nd4ksdMdRv9dX2VPMYIC5zCCAuMCAQEwaTBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl
100
+ IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWls
101
+ IElzc3VpbmcgQ0ECAw5c+TAJBgUrDgMCGgUAoIIBUzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcB
102
+ MBwGCSqGSIb3DQEJBTEPFw0wNTA1MDgxODE3NDZaMCMGCSqGSIb3DQEJBDEWBBQSkG9j6+hB0pKp
103
+ fV9tCi/iP59sNTB4BgkrBgEEAYI3EAQxazBpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3
104
+ dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1h
105
+ aWwgSXNzdWluZyBDQQIDDlz5MHoGCyqGSIb3DQEJEAILMWugaTBiMQswCQYDVQQGEwJaQTElMCMG
106
+ A1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
107
+ bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECAw5c+TANBgkqhkiG9w0BAQEFAASCAQAm1GeF7dWfMvrW
108
+ 8yMPjkhE+R8D1DsiCoWSCp+5gAQm7lcK7V3KrZh5howfpI3TmCZUbbaMxOH+7aKRKpFemxoBY5Q8
109
+ rnCkbpg/++/+MI01T69hF/rgMmrGcrv2fIYy8EaARLG0xUVFSZHSP+NQSYz0TTmh4cAESHMzY3JA
110
+ nHOoUkuPyl8RXrimY1zn0lceMXlweZRouiPGuPNl1hQKw8P+GhOC5oLlM71UtStnrlk3P9gqX5v7
111
+ Tj7Hx057oVfY8FMevjxGwU3EK5TczHezHbWWgTyum9l2ZQbUQsDJxSniD3BM46C1VcbDLPaotAZ0
112
+ fTYLZizQfm5hcWEbfYVzkSzLAAAAAAAA
113
+ ------=_Part_5028_7368284.1115579351471--
114
+
@@ -0,0 +1,70 @@
1
+ From xxxx@xxxx.com Tue May 10 11:28:07 2005
2
+ Return-Path: <xxxx@xxxx.com>
3
+ X-Original-To: xxxx@xxxx.com
4
+ Delivered-To: xxxx@xxxx.com
5
+ Received: from localhost (localhost [127.0.0.1])
6
+ by xxx.xxxxx.com (Postfix) with ESMTP id 50FD3A96F
7
+ for <xxxx@xxxx.com>; Tue, 10 May 2005 17:26:50 +0000 (GMT)
8
+ Received: from xxx.xxxxx.com ([127.0.0.1])
9
+ by localhost (xxx.xxxxx.com [127.0.0.1]) (amavisd-new, port 10024)
10
+ with LMTP id 70060-03 for <xxxx@xxxx.com>;
11
+ Tue, 10 May 2005 17:26:49 +0000 (GMT)
12
+ Received: from xxx.xxxxx.com (xxx.xxxxx.com [69.36.39.150])
13
+ by xxx.xxxxx.com (Postfix) with ESMTP id 8B957A94B
14
+ for <xxxx@xxxx.com>; Tue, 10 May 2005 17:26:48 +0000 (GMT)
15
+ Received: from xxx.xxxxx.com (xxx.xxxxx.com [64.233.184.203])
16
+ by xxx.xxxxx.com (Postfix) with ESMTP id 9972514824C
17
+ for <xxxx@xxxx.com>; Tue, 10 May 2005 12:26:40 -0500 (CDT)
18
+ Received: by xxx.xxxxx.com with SMTP id 68so1694448wri
19
+ for <xxxx@xxxx.com>; Tue, 10 May 2005 10:26:40 -0700 (PDT)
20
+ DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
21
+ s=beta; d=xxxxx.com;
22
+ h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type;
23
+ b=g8ZO5ttS6GPEMAz9WxrRk9+9IXBUfQIYsZLL6T88+ECbsXqGIgfGtzJJFn6o9CE3/HMrrIGkN5AisxVFTGXWxWci5YA/7PTVWwPOhJff5BRYQDVNgRKqMl/SMttNrrRElsGJjnD1UyQ/5kQmcBxq2PuZI5Zc47u6CILcuoBcM+A=
24
+ Received: by 10.54.96.19 with SMTP id t19mr621017wrb;
25
+ Tue, 10 May 2005 10:26:39 -0700 (PDT)
26
+ Received: by 10.54.110.5 with HTTP; Tue, 10 May 2005 10:26:39 -0700 (PDT)
27
+ Message-ID: <xxxx@xxxx.com>
28
+ Date: Tue, 10 May 2005 11:26:39 -0600
29
+ From: Test Tester <xxxx@xxxx.com>
30
+ Reply-To: Test Tester <xxxx@xxxx.com>
31
+ To: xxxx@xxxx.com, xxxx@xxxx.com
32
+ Subject: Another PDF
33
+ Mime-Version: 1.0
34
+ Content-Type: multipart/mixed;
35
+ boundary="----=_Part_2192_32400445.1115745999735"
36
+ X-Virus-Scanned: amavisd-new at textdrive.com
37
+
38
+ ------=_Part_2192_32400445.1115745999735
39
+ Content-Type: text/plain; charset=ISO-8859-1
40
+ Content-Transfer-Encoding: quoted-printable
41
+ Content-Disposition: inline
42
+
43
+ Just attaching another PDF, here, to see what the message looks like,
44
+ and to see if I can figure out what is going wrong here.
45
+
46
+ ------=_Part_2192_32400445.1115745999735
47
+ Content-Type: application/pdf; name="broken.pdf"
48
+ Content-Transfer-Encoding: base64
49
+ Content-Disposition: attachment; filename="broken.pdf"
50
+
51
+ JVBERi0xLjQNCiXk9tzfDQoxIDAgb2JqDQo8PCAvTGVuZ3RoIDIgMCBSDQogICAvRmlsdGVyIC9G
52
+ bGF0ZURlY29kZQ0KPj4NCnN0cmVhbQ0KeJy9Wt2KJbkNvm/od6jrhZxYln9hWEh2p+8HBvICySaE
53
+ ycLuTV4/1ifJ9qnq09NpSBimu76yLUuy/qzqcPz7+em3Ixx/CDc6CsXxs3b5+fvfjr/8cPz6/BRu
54
+ rbfAx/n3739/fuJylJ5u5fjX81OuDr4deK4Bz3z/aDP+8fz0yw8g0Ofq7ktr1Mn+u28rvhy/jVeD
55
+ QSa+9YNKHP/pxjvDNfVAx/m3MFz54FhvTbaseaxiDoN2LeMVMw+yA7RbHSCDzxZuaYB2E1Yay7QU
56
+ x89vz0+tyFDKMlAHK5yqLmnjF+c4RjEiQIUeKwblXMe+AsZjN1J5yGQL5DHpDHksurM81rF6PKab
57
+ gK6zAarIDzIiUY23rJsN9iorAE816aIu6lsgAdQFsuhhkHOUFgVjp2GjMqSewITXNQ27jrMeamkg
58
+ 1rPI3iLWG2CIaSBB+V1245YVRICGbbpYKHc2USFDl6M09acQVQYhlwIrkBNLISvXhGlF1wi5FHCw
59
+ wxZkoGNJlVeJCEsqKA+3YAV5AMb6KkeaqEJQmFKKQU8T1pRi2ihE1Y4CDrqoYFFXYjJJOatsyzuI
60
+ 8SIlykuxKTMibWK8H1PgEvqYgs4GmQSrEjJAalgGirIhik+p4ZQN9E3ETFPAHE1b8pp1l/0Rc1gl
61
+ fQs0ABWvyoZZzU8VnPXwVVcO9BEsyjEJaO6eBoZRyKGlrKoYoOygA8BGIzgwN3RQ15ouigG5idZQ
62
+ fx2U4Db2CqiLO0WHAZoylGiCAqhniNQjFjQPSkmjwfNTgQ6M1Ih+eWo36wFmjIxDJZiGUBiWsAyR
63
+ xX3EekGOizkGI96Ol9zVZTAivikURhRsHh2E3JhWMpSTZCnnonrLhMCodgrNcgo4uyJUJc6qnVss
64
+ nrGd1Ptr0YwisCOYyIbUwVjV4xBUNLbguSO2YHujonAMJkMdSI7bIw91Akq2AUlMUWGFTMAOamjU
65
+ OvZQCxIkY2pCpMFo/IwLdVLHs6nddwTRrgoVbvLU9eB0G4EMndV0TNoxHbt3JBWwK6hhv3iHfDtF
66
+ yokB302IpEBTnWICde4uYc/1khDbSIkQopO6lcqamGBu1OSE3N5IPSsZX00CkSHRiiyx6HQIShsS
67
+ HSVNswdVsaOUSAWq9aYhDtGDaoG5a3lBGkYt/lFlBFt1UqrYnzVtUpUQnLiZeouKgf1KhRBViRRk
68
+ ExepJCzTwEmFDalIRbLEGtw0gfpESOpIAF/NnpPzcVCG86s0g2DuSyd41uhNGbEgaSrWEXORErbw
69
+ ------=_Part_2192_32400445.1115745999735--
70
+
@@ -0,0 +1,59 @@
1
+ Return-Path: <xxx@xxxx.xxx>
2
+ Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id 6AAEE3B4D23 for <xxx@xxxx.xxx>; Sun, 8 May 2005 12:30:23 -0500
3
+ Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id j48HUC213279 for <xxx@xxxx.xxx>; Sun, 8 May 2005 12:30:13 -0500
4
+ Received: from conversion-xxx.xxxx.xxx.net by xxx.xxxx.xxx id <0IG600901LQ64I@xxx.xxxx.xxx> for <xxx@xxxx.xxx>; Sun, 8 May 2005 12:30:12 -0500
5
+ Received: from agw1 by xxx.xxxx.xxx with ESMTP id <0IG600JFYLYCAxxx@xxxx.xxx> for <xxx@xxxx.xxx>; Sun, 8 May 2005 12:30:12 -0500
6
+ Date: Sun, 8 May 2005 12:30:08 -0500
7
+ From: xxx@xxxx.xxx
8
+ To: xxx@xxxx.xxx
9
+ Message-Id: <7864245.1115573412626.JavaMxxx@xxxx.xxx>
10
+ Subject: Filth
11
+ Mime-Version: 1.0
12
+ Content-Type: multipart/mixed; boundary=mimepart_427e4cb4ca329_133ae40413c81ef
13
+ X-Mms-Priority: 1
14
+ X-Mms-Transaction-Id: 3198421808-0
15
+ X-Mms-Message-Type: 0
16
+ X-Mms-Sender-Visibility: 1
17
+ X-Mms-Read-Reply: 1
18
+ X-Original-To: xxx@xxxx.xxx
19
+ X-Mms-Message-Class: 0
20
+ X-Mms-Delivery-Report: 0
21
+ X-Mms-Mms-Version: 16
22
+ Delivered-To: xxx@xxxx.xxx
23
+ X-Nokia-Ag-Version: 2.0
24
+
25
+ This is a multi-part message in MIME format.
26
+
27
+ --mimepart_427e4cb4ca329_133ae40413c81ef
28
+ Content-Type: multipart/mixed; boundary=mimepart_427e4cb4cbd97_133ae40413c8217
29
+
30
+
31
+
32
+ --mimepart_427e4cb4cbd97_133ae40413c8217
33
+ Content-Type: text/plain; charset=utf-8
34
+ Content-Transfer-Encoding: 7bit
35
+ Content-Disposition: inline
36
+ Content-Location: text.txt
37
+
38
+ Some text
39
+
40
+ --mimepart_427e4cb4cbd97_133ae40413c8217--
41
+
42
+ --mimepart_427e4cb4ca329_133ae40413c81ef
43
+ Content-Type: text/plain; charset=us-ascii
44
+ Content-Transfer-Encoding: 7bit
45
+
46
+
47
+ --
48
+ This Orange Multi Media Message was sent wirefree from an Orange
49
+ MMS phone. If you would like to reply, please text or phone the
50
+ sender directly by using the phone number listed in the sender's
51
+ address. To learn more about Orange's Multi Media Messaging
52
+ Service, find us on the Web at xxx.xxxx.xxx.uk/mms
53
+
54
+
55
+ --mimepart_427e4cb4ca329_133ae40413c81ef
56
+
57
+
58
+ --mimepart_427e4cb4ca329_133ae40413c81ef-
59
+
@@ -0,0 +1,19 @@
1
+ Return-Path: <xxx@xxxx.xxx>
2
+ Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id C1B953B4CB6 for <xxxxx@Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:05 -0500
3
+ Received: from SMS-GTYxxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id ca for <xxxxx@Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:04 -0500
4
+ Received: from xxx.xxxx.xxx by SMS-GTYxxx.xxxx.xxx with ESMTP id j4AKR3r23323 for <xxxxx@Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:03 -0500
5
+ Date: Tue, 10 May 2005 15:27:03 -0500
6
+ From: xxx@xxxx.xxx
7
+ Sender: xxx@xxxx.xxx
8
+ To: xxxxxxxxxxx@xxxx.xxxx.xxx
9
+ Message-Id: <xxx@xxxx.xxx>
10
+ X-Original-To: xxxxxxxxxxx@xxxx.xxxx.xxx
11
+ Delivered-To: xxx@xxxx.xxx
12
+ Importance: normal
13
+
14
+ Test test. Hi. Waving. m
15
+
16
+ ----------------------------------------------------------------
17
+ Sent via Bell Mobility's Text Messaging service.
18
+ Envoyé par le service de messagerie texte de Bell Mobilité.
19
+ ----------------------------------------------------------------
@@ -0,0 +1,20 @@
1
+ Return-Path: <xxx@xxxx.xxx>
2
+ Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id C1B953B4CB6 for <xxxxx@Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:05 -0500
3
+ Received: from SMS-GTYxxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id ca for <xxxxx@Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:04 -0500
4
+ Received: from xxx.xxxx.xxx by SMS-GTYxxx.xxxx.xxx with ESMTP id j4AKR3r23323 for <xxxxx@Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:03 -0500
5
+ Date: Tue, 10 May 2005 15:27:03 -0500
6
+ From: xxx@xxxx.xxx
7
+ Sender: xxx@xxxx.xxx
8
+ To: xxxxxxxxxxx@xxxx.xxxx.xxx
9
+ Message-Id: <xxx@xxxx.xxx>
10
+ X-Original-To: xxxxxxxxxxx@xxxx.xxxx.xxx
11
+ Delivered-To: xxx@xxxx.xxx
12
+ Importance: normal
13
+ Content-Type: text/plain; charset=us-ascii
14
+
15
+ Test test. Hi. Waving. m
16
+
17
+ ----------------------------------------------------------------
18
+ Sent via Bell Mobility's Text Messaging service.
19
+ Envoyé par le service de messagerie texte de Bell Mobilité.
20
+ ----------------------------------------------------------------
@@ -0,0 +1,66 @@
1
+ Mime-Version: 1.0 (Apple Message framework v730)
2
+ Content-Type: multipart/mixed; boundary=Apple-Mail-13-196941151
3
+ Message-Id: <9169D984-4E0B-45EF-82D4-8F5E53AD7012@example.com>
4
+ From: foo@example.com
5
+ Subject: testing
6
+ Date: Mon, 6 Jun 2005 22:21:22 +0200
7
+ To: blah@example.com
8
+
9
+
10
+ --Apple-Mail-13-196941151
11
+ Content-Type: multipart/mixed;
12
+ boundary=Apple-Mail-12-196940926
13
+
14
+
15
+ --Apple-Mail-12-196940926
16
+ Content-Transfer-Encoding: quoted-printable
17
+ Content-Type: text/plain;
18
+ charset=ISO-8859-1;
19
+ delsp=yes;
20
+ format=flowed
21
+
22
+ This is the first part.
23
+
24
+ --Apple-Mail-12-196940926
25
+ Content-Transfer-Encoding: 7bit
26
+ Content-Type: text/x-ruby-script;
27
+ x-unix-mode=0666;
28
+ name="test.rb"
29
+ Content-Disposition: attachment;
30
+ filename=test.rb
31
+
32
+ puts "testing, testing"
33
+
34
+ --Apple-Mail-12-196940926
35
+ Content-Transfer-Encoding: base64
36
+ Content-Type: application/pdf;
37
+ x-unix-mode=0666;
38
+ name="test.pdf"
39
+ Content-Disposition: inline;
40
+ filename=test.pdf
41
+
42
+ YmxhaCBibGFoIGJsYWg=
43
+
44
+ --Apple-Mail-12-196940926
45
+ Content-Transfer-Encoding: 7bit
46
+ Content-Type: text/plain;
47
+ charset=US-ASCII;
48
+ format=flowed
49
+
50
+
51
+
52
+ --Apple-Mail-12-196940926--
53
+
54
+ --Apple-Mail-13-196941151
55
+ Content-Transfer-Encoding: base64
56
+ Content-Type: application/pkcs7-signature;
57
+ name=smime.p7s
58
+ Content-Disposition: attachment;
59
+ filename=smime.p7s
60
+
61
+ jamisSqGSIb3DQEHAqCAMIjamisxCzAJBgUrDgMCGgUAMIAGCSqGSjamisEHAQAAoIIFSjCCBUYw
62
+ ggQujamisQICBD++ukQwDQYJKojamisNAQEFBQAwMTELMAkGA1UEBhMCRjamisAKBgNVBAoTA1RE
63
+ QzEUMBIGjamisxMLVERDIE9DRVMgQ0jamisNMDQwMjI5MTE1OTAxWhcNMDYwMjamisIyOTAxWjCB
64
+ gDELMAkGA1UEjamisEsxKTAnBgNVBAoTIEjamisuIG9yZ2FuaXNhdG9yaXNrIHRpbjamisRuaW5=
65
+
66
+ --Apple-Mail-13-196941151--
@@ -0,0 +1,47 @@
1
+ From xxxxxxxxx.xxxxxxx@gmail.com Sun May 8 19:07:09 2005
2
+ Return-Path: <xxxxxxxxx.xxxxxxx@gmail.com>
3
+ Message-ID: <e85734b90505081209eaaa17b@mail.gmail.com>
4
+ Date: Sun, 8 May 2005 14:09:11 -0500
5
+ From: xxxxxxxxx xxxxxxx <xxxxxxxxx.xxxxxxx@gmail.com>
6
+ Reply-To: xxxxxxxxx xxxxxxx <xxxxxxxxx.xxxxxxx@gmail.com>
7
+ To: xxxxx xxxx <xxxxx@xxxxxxxxx.com>
8
+ Subject: Fwd: Signed email causes file attachments
9
+ In-Reply-To: <F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13@mac.com>
10
+ Mime-Version: 1.0
11
+ Content-Type: multipart/mixed;
12
+ boundary="----=_Part_5028_7368284.1115579351471"
13
+ References: <F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13@mac.com>
14
+
15
+ ------=_Part_5028_7368284.1115579351471
16
+ Content-Type: text/plain; charset=ISO-8859-1
17
+ Content-Transfer-Encoding: quoted-printable
18
+ Content-Disposition: inline
19
+
20
+ We should not include these files or vcards as attachments.
21
+
22
+ ---------- Forwarded message ----------
23
+ From: xxxxx xxxxxx <xxxxxxxx@xxx.com>
24
+ Date: May 8, 2005 1:17 PM
25
+ Subject: Signed email causes file attachments
26
+ To: xxxxxxx@xxxxxxxxxx.com
27
+
28
+
29
+ Hi,
30
+
31
+ Test attachments oddly encoded with japanese charset.
32
+
33
+
34
+ ------=_Part_5028_7368284.1115579351471
35
+ Content-Type: application/octet-stream; name*=iso-2022-jp'ja'01%20Quien%20Te%20Dij%8aat.%20Pitbull.mp3
36
+ Content-Transfer-Encoding: base64
37
+ Content-Disposition: attachment
38
+
39
+ MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGFDCCAs0w
40
+ ggI2oAMCAQICAw5c+TANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
41
+ d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
42
+ YWlsIElzc3VpbmcgQ0EwHhcNMDUwMzI5MDkzOTEwWhcNMDYwMzI5MDkzOTEwWjBCMR8wHQYDVQQD
43
+ ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzbWhhdW5jaEBtYWMuY29t
44
+ MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAn90dPsYS3LjfMY211OSYrDQLzwNYPlAL
45
+ 7+/0XA+kdy8/rRnyEHFGwhNCDmg0B6pxC7z3xxJD/8GfCd+IYUUNUQV5m9MkxfP9pTVXZVIYLaBw
46
+ ------=_Part_5028_7368284.1115579351471--
47
+