legacy_mailers 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +29 -0
- data/lib/action_mailer/adv_attr_accessor.rb +28 -0
- data/lib/action_mailer/deprecated_api.rb +152 -0
- data/lib/action_mailer/old_api.rb +258 -0
- data/lib/legacy_mailers.rb +10 -0
- data/lib/legacy_mailers/version.rb +3 -0
- data/test/abstract_unit.rb +70 -0
- data/test/adv_attr_test.rb +36 -0
- data/test/asset_host_test.rb +56 -0
- data/test/fixtures/another.path/base_mailer/welcome.erb +1 -0
- data/test/fixtures/asset_host_mailer/email_with_asset.html.erb +1 -0
- data/test/fixtures/asset_mailer/welcome.html.erb +1 -0
- data/test/fixtures/attachments/foo.jpg +0 -0
- data/test/fixtures/attachments/test.jpg +0 -0
- data/test/fixtures/auto_layout_mailer/hello.html.erb +1 -0
- data/test/fixtures/auto_layout_mailer/multipart.html.erb +1 -0
- data/test/fixtures/auto_layout_mailer/multipart.text.erb +1 -0
- data/test/fixtures/base_mailer/attachment_with_content.erb +1 -0
- data/test/fixtures/base_mailer/different_layout.html.erb +1 -0
- data/test/fixtures/base_mailer/different_layout.text.erb +1 -0
- data/test/fixtures/base_mailer/email_custom_layout.text.html.erb +1 -0
- data/test/fixtures/base_mailer/email_with_translations.html.erb +1 -0
- data/test/fixtures/base_mailer/explicit_multipart_templates.html.erb +1 -0
- data/test/fixtures/base_mailer/explicit_multipart_templates.text.erb +1 -0
- data/test/fixtures/base_mailer/explicit_multipart_with_one_template.erb +1 -0
- data/test/fixtures/base_mailer/html_only.html.erb +1 -0
- data/test/fixtures/base_mailer/implicit_multipart.html.erb +1 -0
- data/test/fixtures/base_mailer/implicit_multipart.text.erb +1 -0
- data/test/fixtures/base_mailer/implicit_with_locale.en.html.erb +1 -0
- data/test/fixtures/base_mailer/implicit_with_locale.html.erb +1 -0
- data/test/fixtures/base_mailer/implicit_with_locale.pl.text.erb +1 -0
- data/test/fixtures/base_mailer/implicit_with_locale.text.erb +1 -0
- data/test/fixtures/base_mailer/inline_attachment.html.erb +5 -0
- data/test/fixtures/base_mailer/inline_attachment.text.erb +4 -0
- data/test/fixtures/base_mailer/plain_text_only.text.erb +1 -0
- data/test/fixtures/base_mailer/welcome.erb +1 -0
- data/test/fixtures/explicit_layout_mailer/logout.html.erb +1 -0
- data/test/fixtures/explicit_layout_mailer/signup.html.erb +1 -0
- data/test/fixtures/first_mailer/share.erb +1 -0
- data/test/fixtures/i18n_test_mailer/mail_with_i18n_subject.erb +4 -0
- data/test/fixtures/layouts/auto_layout_mailer.html.erb +1 -0
- data/test/fixtures/layouts/auto_layout_mailer.text.erb +1 -0
- data/test/fixtures/layouts/different_layout.html.erb +1 -0
- data/test/fixtures/layouts/different_layout.text.erb +1 -0
- data/test/fixtures/layouts/spam.html.erb +1 -0
- data/test/fixtures/nested_layout_mailer/signup.html.erb +1 -0
- data/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb +1 -0
- data/test/fixtures/raw_email +14 -0
- data/test/fixtures/raw_email10 +20 -0
- data/test/fixtures/raw_email12 +32 -0
- data/test/fixtures/raw_email13 +29 -0
- data/test/fixtures/raw_email2 +114 -0
- data/test/fixtures/raw_email3 +70 -0
- data/test/fixtures/raw_email4 +59 -0
- data/test/fixtures/raw_email5 +19 -0
- data/test/fixtures/raw_email6 +20 -0
- data/test/fixtures/raw_email7 +66 -0
- data/test/fixtures/raw_email8 +47 -0
- data/test/fixtures/raw_email9 +28 -0
- data/test/fixtures/raw_email_quoted_with_0d0a +14 -0
- data/test/fixtures/raw_email_with_invalid_characters_in_content_type +104 -0
- data/test/fixtures/raw_email_with_nested_attachment +100 -0
- data/test/fixtures/raw_email_with_partially_quoted_subject +14 -0
- data/test/fixtures/second_mailer/share.erb +1 -0
- data/test/fixtures/templates/signed_up.erb +3 -0
- data/test/fixtures/test_mailer/_subtemplate.text.erb +1 -0
- data/test/fixtures/test_mailer/custom_templating_extension.html.haml +6 -0
- data/test/fixtures/test_mailer/custom_templating_extension.text.haml +6 -0
- data/test/fixtures/test_mailer/implicitly_multipart_example.html.erb +10 -0
- data/test/fixtures/test_mailer/implicitly_multipart_example.html.erb~ +10 -0
- data/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb +1 -0
- data/test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak +1 -0
- data/test/fixtures/test_mailer/implicitly_multipart_example.text.erb +2 -0
- data/test/fixtures/test_mailer/implicitly_multipart_example.yaml.erb +1 -0
- data/test/fixtures/test_mailer/included_subtemplate.text.erb +1 -0
- data/test/fixtures/test_mailer/multipart_alternative.html.erb +1 -0
- data/test/fixtures/test_mailer/multipart_alternative.plain.erb +1 -0
- data/test/fixtures/test_mailer/rxml_template.rxml +2 -0
- data/test/fixtures/test_mailer/signed_up.html.erb +3 -0
- data/test/fixtures/url_test_mailer/signed_up_with_url.erb +5 -0
- data/test/mail_layout_test.rb +126 -0
- data/test/mail_render_test.rb +162 -0
- data/test/mail_service_test.rb +1214 -0
- metadata +308 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
require "legacy_mailers/version"
|
2
|
+
|
3
|
+
require 'action_mailer/adv_attr_accessor'
|
4
|
+
require 'action_mailer/old_api'
|
5
|
+
require 'action_mailer/deprecated_api'
|
6
|
+
|
7
|
+
ActionMailer::Base.class_eval do
|
8
|
+
include ActionMailer::OldApi
|
9
|
+
include ActionMailer::DeprecatedApi
|
10
|
+
end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
require 'active_support/core_ext/kernel/reporting'
|
2
|
+
|
3
|
+
require 'active_support/core_ext/string/encoding'
|
4
|
+
if "ruby".encoding_aware?
|
5
|
+
# These are the normal settings that will be set up by Railties
|
6
|
+
# TODO: Have these tests support other combinations of these values
|
7
|
+
silence_warnings do
|
8
|
+
Encoding.default_internal = "UTF-8"
|
9
|
+
Encoding.default_external = "UTF-8"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
silence_warnings do
|
14
|
+
# These external dependencies have warnings :/
|
15
|
+
require 'mail'
|
16
|
+
end
|
17
|
+
|
18
|
+
lib = File.expand_path("#{File.dirname(__FILE__)}/../lib")
|
19
|
+
$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)
|
20
|
+
|
21
|
+
require 'test/unit'
|
22
|
+
require 'action_mailer'
|
23
|
+
require 'action_mailer/test_case'
|
24
|
+
require 'mocha'
|
25
|
+
require 'debugger'
|
26
|
+
|
27
|
+
require 'legacy_mailers'
|
28
|
+
|
29
|
+
# Show backtraces for deprecated behavior for quicker cleanup.
|
30
|
+
ActiveSupport::Deprecation.debug = false
|
31
|
+
|
32
|
+
# Bogus template processors
|
33
|
+
ActionView::Template.register_template_handler :haml, lambda { |template| "Look its HAML!".inspect }
|
34
|
+
ActionView::Template.register_template_handler :bak, lambda { |template| "Lame backup".inspect }
|
35
|
+
|
36
|
+
FIXTURE_LOAD_PATH = File.expand_path('fixtures', File.dirname(__FILE__))
|
37
|
+
ActionMailer::Base.view_paths = FIXTURE_LOAD_PATH
|
38
|
+
|
39
|
+
class MockSMTP
|
40
|
+
def self.deliveries
|
41
|
+
@@deliveries
|
42
|
+
end
|
43
|
+
|
44
|
+
def initialize
|
45
|
+
@@deliveries = []
|
46
|
+
end
|
47
|
+
|
48
|
+
def sendmail(mail, from, to)
|
49
|
+
@@deliveries << [mail, from, to]
|
50
|
+
end
|
51
|
+
|
52
|
+
def start(*args)
|
53
|
+
yield self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
class Net::SMTP
|
58
|
+
def self.new(*args)
|
59
|
+
MockSMTP.new
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
def set_delivery_method(method)
|
64
|
+
@old_delivery_method = ActionMailer::Base.delivery_method
|
65
|
+
ActionMailer::Base.delivery_method = method
|
66
|
+
end
|
67
|
+
|
68
|
+
def restore_delivery_method
|
69
|
+
ActionMailer::Base.delivery_method = @old_delivery_method
|
70
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'abstract_unit'
|
2
|
+
require 'action_mailer/adv_attr_accessor'
|
3
|
+
|
4
|
+
class AdvAttrTest < ActiveSupport::TestCase
|
5
|
+
class Person
|
6
|
+
cattr_reader :protected_instance_variables
|
7
|
+
@@protected_instance_variables = []
|
8
|
+
|
9
|
+
extend ActionMailer::AdvAttrAccessor
|
10
|
+
adv_attr_accessor :name
|
11
|
+
end
|
12
|
+
|
13
|
+
def setup
|
14
|
+
@person = Person.new
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_adv_attr
|
18
|
+
assert_nil @person.name
|
19
|
+
@person.name 'Bob'
|
20
|
+
assert_equal 'Bob', @person.name
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_adv_attr_writer
|
24
|
+
assert_nil @person.name
|
25
|
+
@person.name = 'Bob'
|
26
|
+
assert_equal 'Bob', @person.name
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_raise_an_error_with_multiple_args
|
30
|
+
assert_raise(ArgumentError) { @person.name('x', 'y') }
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_ivar_is_added_to_protected_instnace_variables
|
34
|
+
assert Person.protected_instance_variables.include?('@name')
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require 'abstract_unit'
|
2
|
+
require 'action_controller'
|
3
|
+
|
4
|
+
class AssetHostMailer < ActionMailer::Base
|
5
|
+
def email_with_asset
|
6
|
+
recipients 'test@localhost'
|
7
|
+
subject "testing email containing asset path while asset_host is set"
|
8
|
+
from "tester@example.com"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
class AssetHostTest < Test::Unit::TestCase
|
13
|
+
def setup
|
14
|
+
set_delivery_method :test
|
15
|
+
ActionMailer::Base.perform_deliveries = true
|
16
|
+
ActionMailer::Base.deliveries.clear
|
17
|
+
AssetHostMailer.configure do |c|
|
18
|
+
c.asset_host = "http://www.example.com"
|
19
|
+
c.assets_dir = ''
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def teardown
|
24
|
+
restore_delivery_method
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_asset_host_as_string
|
28
|
+
mail = AssetHostMailer.email_with_asset
|
29
|
+
assert_equal %Q{<img alt="Somelogo" src="http://www.example.com/images/somelogo.png" />}, mail.body.to_s.strip
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_asset_host_as_one_arguement_proc
|
33
|
+
AssetHostMailer.config.asset_host = Proc.new { |source|
|
34
|
+
if source.starts_with?('/images')
|
35
|
+
"http://images.example.com"
|
36
|
+
else
|
37
|
+
"http://assets.example.com"
|
38
|
+
end
|
39
|
+
}
|
40
|
+
mail = AssetHostMailer.email_with_asset
|
41
|
+
assert_equal %Q{<img alt="Somelogo" src="http://images.example.com/images/somelogo.png" />}, mail.body.to_s.strip
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_asset_host_as_two_arguement_proc
|
45
|
+
ActionController::Base.config.asset_host = Proc.new {|source,request|
|
46
|
+
if request && request.ssl?
|
47
|
+
"https://www.example.com"
|
48
|
+
else
|
49
|
+
"http://www.example.com"
|
50
|
+
end
|
51
|
+
}
|
52
|
+
mail = nil
|
53
|
+
assert_nothing_raised { mail = AssetHostMailer.email_with_asset }
|
54
|
+
assert_equal %Q{<img alt="Somelogo" src="http://www.example.com/images/somelogo.png" />}, mail.body.to_s.strip
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
Welcome from another path
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= image_tag "somelogo.png" %>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= image_tag "dummy.png" %>
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
Inside
|
@@ -0,0 +1 @@
|
|
1
|
+
text/html multipart
|
@@ -0,0 +1 @@
|
|
1
|
+
text/plain multipart
|
@@ -0,0 +1 @@
|
|
1
|
+
Attachment with content
|
@@ -0,0 +1 @@
|
|
1
|
+
HTML
|
@@ -0,0 +1 @@
|
|
1
|
+
PLAIN
|
@@ -0,0 +1 @@
|
|
1
|
+
body_text
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= t('.greet_user', :name => 'lifo') %>
|
@@ -0,0 +1 @@
|
|
1
|
+
HTML Explicit Multipart Templates
|
@@ -0,0 +1 @@
|
|
1
|
+
TEXT Explicit Multipart Templates
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= self.formats.inspect %>
|
@@ -0,0 +1 @@
|
|
1
|
+
<h1>Testing</h1>
|
@@ -0,0 +1 @@
|
|
1
|
+
HTML Implicit Multipart
|
@@ -0,0 +1 @@
|
|
1
|
+
TEXT Implicit Multipart
|
@@ -0,0 +1 @@
|
|
1
|
+
Implicit with locale EN HTML
|
@@ -0,0 +1 @@
|
|
1
|
+
Implicit with locale HTML
|
@@ -0,0 +1 @@
|
|
1
|
+
Implicit with locale PL TEXT
|
@@ -0,0 +1 @@
|
|
1
|
+
Implicit with locale TEXT
|
@@ -0,0 +1 @@
|
|
1
|
+
Testing
|
@@ -0,0 +1 @@
|
|
1
|
+
Welcome
|
@@ -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
|
+
Hello from layout <%= yield %>
|
@@ -0,0 +1 @@
|
|
1
|
+
text/plain layout - <%= yield %>
|
@@ -0,0 +1 @@
|
|
1
|
+
HTML -- <%= yield %>
|
@@ -0,0 +1 @@
|
|
1
|
+
PLAIN -- <%= yield %>
|
@@ -0,0 +1 @@
|
|
1
|
+
Spammer layout <%= yield %>
|
@@ -0,0 +1 @@
|
|
1
|
+
We do not spam
|
data/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Have some dots. 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
|
+
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCG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