actionmailer 0.9.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of actionmailer might be problematic. Click here for more details.

Files changed (41) hide show
  1. data/CHANGELOG +51 -2
  2. data/README +5 -6
  3. data/lib/action_mailer.rb +10 -3
  4. data/lib/action_mailer/adv_attr_accessor.rb +56 -0
  5. data/lib/action_mailer/base.rb +244 -120
  6. data/lib/action_mailer/helpers.rb +115 -0
  7. data/lib/action_mailer/part.rb +76 -0
  8. data/lib/action_mailer/part_container.rb +25 -0
  9. data/lib/action_mailer/quoting.rb +99 -0
  10. data/lib/action_mailer/utils.rb +8 -0
  11. data/lib/action_mailer/vendor/tmail/attachments.rb +6 -5
  12. data/lib/action_mailer/vendor/tmail/encode.rb +1 -0
  13. data/lib/action_mailer/vendor/tmail/facade.rb +2 -1
  14. data/lib/action_mailer/vendor/tmail/mail.rb +4 -0
  15. data/lib/action_mailer/vendor/tmail/net.rb +1 -1
  16. data/lib/action_mailer/vendor/tmail/quoting.rb +103 -80
  17. data/lib/action_mailer/vendor/tmail/scanner_r.rb +2 -2
  18. data/lib/action_mailer/vendor/tmail/utils.rb +9 -5
  19. data/rakefile +4 -4
  20. data/test/fixtures/helper_mailer/use_helper.rhtml +1 -0
  21. data/test/fixtures/helper_mailer/use_helper_method.rhtml +1 -0
  22. data/test/fixtures/helper_mailer/use_mail_helper.rhtml +5 -0
  23. data/test/fixtures/helper_mailer/use_test_helper.rhtml +1 -0
  24. data/test/fixtures/helpers/test_helper.rb +5 -0
  25. data/test/fixtures/raw_email +14 -0
  26. data/test/fixtures/raw_email10 +20 -0
  27. data/test/fixtures/raw_email11 +34 -0
  28. data/test/fixtures/raw_email2 +114 -0
  29. data/test/fixtures/raw_email3 +70 -0
  30. data/test/fixtures/raw_email4 +59 -0
  31. data/test/fixtures/raw_email5 +19 -0
  32. data/test/fixtures/raw_email6 +20 -0
  33. data/test/fixtures/raw_email7 +56 -0
  34. data/test/fixtures/raw_email8 +47 -0
  35. data/test/fixtures/raw_email9 +28 -0
  36. data/test/fixtures/test_mailer/implicitly_multipart_example.text.html.rhtml +10 -0
  37. data/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.rhtml +2 -0
  38. data/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.rhtml +1 -0
  39. data/test/mail_helper_test.rb +97 -0
  40. data/test/mail_service_test.rb +391 -30
  41. metadata +32 -4
@@ -25,8 +25,8 @@ module TMail
25
25
  }
26
26
 
27
27
  alnum = 'a-zA-Z0-9'
28
- atomsyms = %q[ _#!$%&`'*+-{|}~^/=? ].strip
29
- tokensyms = %q[ _#!$%&`'*+-{|}~^. ].strip
28
+ atomsyms = %q[ _#!$%&`'*+-{|}~^@/=? ].strip
29
+ tokensyms = %q[ _#!$%&`'*+-{|}~^@. ].strip
30
30
 
31
31
  atomchars = alnum + Regexp.quote(atomsyms)
32
32
  tokenchars = alnum + Regexp.quote(tokensyms)
@@ -27,7 +27,7 @@ module TMail
27
27
  t = Time.now
28
28
  sprintf('%x%x_%x%x%d%x',
29
29
  t.to_i, t.tv_usec,
30
- $$, Thread.current.id, @uniq, rand(255))
30
+ $$, Thread.current.object_id, @uniq, rand(255))
31
31
  end
32
32
  private_class_method :random_tag
33
33
 
@@ -36,8 +36,8 @@ module TMail
36
36
 
37
37
  module TextUtils
38
38
 
39
- aspecial = '()<>[]:;.@\\,"'
40
- tspecial = '()<>[];:@\\,"/?='
39
+ aspecial = '()<>[]:;.\\,"'
40
+ tspecial = '()<>[];:\\,"/?='
41
41
  lwsp = " \t\r\n"
42
42
  control = '\x00-\x1f\x7f-\xff'
43
43
 
@@ -206,8 +206,12 @@ module TMail
206
206
 
207
207
  def decode_RFC2231( str )
208
208
  m = RFC2231_ENCODED.match(str) or return str
209
- NKF.nkf(NKF_FLAGS[$KCODE],
210
- m.post_match.gsub(/%[\da-f]{2}/in) {|s| s[1,2].hex.chr })
209
+ begin
210
+ NKF.nkf(NKF_FLAGS[$KCODE],
211
+ m.post_match.gsub(/%[\da-f]{2}/in) {|s| s[1,2].hex.chr })
212
+ rescue
213
+ m.post_match.gsub(/%[\da-f]{2}/in, "")
214
+ end
211
215
  end
212
216
 
213
217
  end
data/rakefile CHANGED
@@ -8,7 +8,7 @@ require 'rake/contrib/rubyforgepublisher'
8
8
 
9
9
  PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
10
10
  PKG_NAME = 'actionmailer'
11
- PKG_VERSION = '0.9.1' + PKG_BUILD
11
+ PKG_VERSION = '1.0.0' + PKG_BUILD
12
12
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
13
13
 
14
14
  RELEASE_NAME = "REL #{PKG_VERSION}"
@@ -52,7 +52,7 @@ spec = Gem::Specification.new do |s|
52
52
  s.rubyforge_project = "actionmailer"
53
53
  s.homepage = "http://www.rubyonrails.org"
54
54
 
55
- s.add_dependency('actionpack', '= 1.8.1' + PKG_BUILD)
55
+ s.add_dependency('actionpack', '= 1.9.0' + PKG_BUILD)
56
56
 
57
57
  s.has_rdoc = true
58
58
  s.requirements << 'none'
@@ -73,12 +73,12 @@ end
73
73
 
74
74
  desc "Publish the API documentation"
75
75
  task :pgem => [:package] do
76
- Rake::SshFilePublisher.new("davidhh@wrath.rubyonrails.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
76
+ Rake::SshFilePublisher.new("davidhh@wrath.rubyonrails.org", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
77
77
  end
78
78
 
79
79
  desc "Publish the API documentation"
80
80
  task :pdoc => [:rdoc] do
81
- Rake::SshDirPublisher.new("davidhh@wrath.rubyonrails.com", "public_html/am", "doc").upload
81
+ Rake::SshDirPublisher.new("davidhh@wrath.rubyonrails.org", "public_html/am", "doc").upload
82
82
  end
83
83
 
84
84
  desc "Publish the release files to RubyForge."
@@ -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 @@
1
+ So, <%= test_format(@text) %>
@@ -0,0 +1,5 @@
1
+ module TestHelper
2
+ def test_format(text)
3
+ "<em><strong><small>#{text}</small></strong></em>"
4
+ end
5
+ end
@@ -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,34 @@
1
+ From xxx@xxxx.com Wed Apr 27 14:15:31 2005
2
+ Mime-Version: 1.0 (Apple Message framework v619.2)
3
+ To: xxxxx@xxxxx <matmail>
4
+ Message-Id: <416eaebec6d333ec6939eaf8a7d80724@xxxxx>
5
+ Content-Type: multipart/alternative;
6
+ boundary=Apple-Mail-5-1037861608
7
+ From: xxxxx@xxxxx <xxxxx@xxxxx>
8
+ Subject: worse when you use them.
9
+ Date: Wed, 27 Apr 2005 14:15:31 -0700
10
+
11
+
12
+
13
+
14
+ --Apple-Mail-5-1037861608
15
+ Content-Transfer-Encoding: 7bit
16
+ Content-Type: text/plain;
17
+ charset=US-ASCII;
18
+ format=flowed
19
+
20
+
21
+ XXXXX Xxxxx
22
+
23
+ --Apple-Mail-5-1037861608
24
+ Content-Transfer-Encoding: 7bit
25
+ Content-Type: text/enriched;
26
+ charset=US-ASCII
27
+
28
+
29
+
30
+ <bold>XXXXX Xxxxx</bold>
31
+
32
+
33
+ --Apple-Mail-5-1037861608--
34
+
@@ -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+TANBgkqhkiG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QbUQsDJxSniD3BM46C1VcbDLPaotAZ0
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+yA7RbHSCDzx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445.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
+ ----------------------------------------------------------------