mail_spy 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/models/mail_spy/email.rb +48 -0
- data/app/models/mail_spy/process_log.rb +25 -0
- data/lib/mail_spy/manager.rb +35 -9
- data/lib/mail_spy/version.rb +1 -1
- data/test/dummy/db/seeds.rb +16 -13
- data/test/dummy/log/development.log +724 -0
- data/test/dummy/log/test.log +2372 -0
- data/test/fixtures/mail_spy/process_logs.yml +15 -0
- data/test/functional/mail_spy/tracking_controller_test.rb +13 -1
- data/test/unit/mail_spy/manager_test.rb +25 -12
- data/test/unit/mail_spy/process_log_test.rb +9 -0
- metadata +7 -2
data/test/dummy/log/test.log
CHANGED
@@ -13595,3 +13595,2375 @@ MONGODB dummy_test['mail_spy_emails'].remove({})
|
|
13595
13595
|
[1m[35m (0.0ms)[0m rollback transaction
|
13596
13596
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13597
13597
|
[1m[35m (0.1ms)[0m rollback transaction
|
13598
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
13599
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
13600
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
13601
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
13602
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30daa5ba12eb40a2000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:02:45 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:02:45 UTC, "created_at"=>2012-02-07 08:02:45 UTC}])
|
13603
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daa5ba12eb40a2000001')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30daa5ba12eb40a2000001\"}}"}}})
|
13604
|
+
[AWS S3 200 0.857834] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
13605
|
+
|
13606
|
+
[AWS S3 200 0.110480] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
13607
|
+
|
13608
|
+
[AWS S3 200 0.120428] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
13609
|
+
|
13610
|
+
Rendered inline template (23.3ms)
|
13611
|
+
[AWS S3 200 0.144824] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
13612
|
+
|
13613
|
+
[AWS S3 200 0.098261] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
13614
|
+
|
13615
|
+
[AWS S3 200 0.116299] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
13616
|
+
|
13617
|
+
Rendered inline template (1.7ms)
|
13618
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13619
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13620
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13621
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13622
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30daaaba12eb40a2000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:02:50 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:02:50 UTC, "created_at"=>2012-02-07 08:02:50 UTC}])
|
13623
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daaaba12eb40a2000002')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30daaaba12eb40a2000002\"}}"}}})
|
13624
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13625
|
+
Rendered inline template (1.5ms)
|
13626
|
+
Rendered inline template (1.2ms)
|
13627
|
+
|
13628
|
+
Sent mail to trcarden@gmail.com (946ms)
|
13629
|
+
Date: Tue, 07 Feb 2012 00:02:50 -0800
|
13630
|
+
From: test@test.com
|
13631
|
+
Reply-To: testGuy
|
13632
|
+
To: trcarden@gmail.com
|
13633
|
+
Message-ID: <4f30daaa5b6e1_40a280434f4c381b9@toms-iphone-4.mail>
|
13634
|
+
Subject: test subject
|
13635
|
+
Mime-Version: 1.0
|
13636
|
+
Content-Type: multipart/alternative;
|
13637
|
+
boundary="--==_mimepart_4f30daaa3d403_40a280434f4c37867";
|
13638
|
+
charset=UTF-8
|
13639
|
+
Content-Transfer-Encoding: 7bit
|
13640
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30daaaba12eb40a2000002"}}
|
13641
|
+
|
13642
|
+
|
13643
|
+
|
13644
|
+
----==_mimepart_4f30daaa3d403_40a280434f4c37867
|
13645
|
+
Date: Tue, 07 Feb 2012 00:02:50 -0800
|
13646
|
+
Mime-Version: 1.0
|
13647
|
+
Content-Type: text/plain;
|
13648
|
+
charset=UTF-8
|
13649
|
+
Content-Transfer-Encoding: 7bit
|
13650
|
+
Content-ID: <4f30daaa4d6cf_40a280434f4c3790@toms-iphone-4.mail>
|
13651
|
+
|
13652
|
+
You should be able to click on the link and have the server record the even
|
13653
|
+
and forward you to the correct place.
|
13654
|
+
|
13655
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30daaaba12eb40a2000002&n=1&url=www.google.com">My home</a>
|
13656
|
+
---------------------------
|
13657
|
+
|
13658
|
+
You should be able to show images in the email client and have the server
|
13659
|
+
track the open
|
13660
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30daaaba12eb40a2000002' style='display:none' width='1' height='1' border='0' />)
|
13661
|
+
|
13662
|
+
|
13663
|
+
|
13664
|
+
|
13665
|
+
----==_mimepart_4f30daaa3d403_40a280434f4c37867
|
13666
|
+
Date: Tue, 07 Feb 2012 00:02:50 -0800
|
13667
|
+
Mime-Version: 1.0
|
13668
|
+
Content-Type: text/html;
|
13669
|
+
charset=UTF-8
|
13670
|
+
Content-Transfer-Encoding: 7bit
|
13671
|
+
Content-ID: <4f30daaa56273_40a280434f4c38020@toms-iphone-4.mail>
|
13672
|
+
|
13673
|
+
<p>
|
13674
|
+
You should be able to click on the link and have the server record the even
|
13675
|
+
and forward you to the correct place.
|
13676
|
+
|
13677
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30daaaba12eb40a2000002&n=1&url=www.google.com">My home</a>
|
13678
|
+
</p>
|
13679
|
+
|
13680
|
+
<br>
|
13681
|
+
|
13682
|
+
<p>
|
13683
|
+
You should be able to show images in the email client and have the server
|
13684
|
+
track the open
|
13685
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30daaaba12eb40a2000002' style='display:none' width='1' height='1' border='0' />)
|
13686
|
+
</p>
|
13687
|
+
|
13688
|
+
|
13689
|
+
|
13690
|
+
----==_mimepart_4f30daaa3d403_40a280434f4c37867--
|
13691
|
+
|
13692
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13693
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13694
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13696
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13697
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13698
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13699
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13700
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13701
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13702
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30daabba12eb40a2000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-02-07 08:02:51 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"test campaign", "utm_term"=>"test stream", "utm_content"=>"test component", "updated_at"=>2012-02-07 08:02:51 UTC, "created_at"=>2012-02-07 08:02:51 UTC}])
|
13703
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daabba12eb40a2000003')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30daabba12eb40a2000003\"}}"}}})
|
13704
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13705
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13706
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13707
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13708
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13709
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13710
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13711
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13712
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13713
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13714
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13715
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13716
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13718
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13719
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13720
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30daabba12eb40a2000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:02:51 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:02:51 UTC, "created_at"=>2012-02-07 08:02:51 UTC}])
|
13721
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daabba12eb40a2000004')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30daabba12eb40a2000004\"}}"}}})
|
13722
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13723
|
+
Processing by MailSpy::TrackingController#action as HTML
|
13724
|
+
Parameters: {"eid"=>"4f30daabba12eb40a2000004", "action_type"=>"Conversion", "count"=>"3"}
|
13725
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30daabba12eb40a2000004')}).limit(-1).sort([[:_id, :asc]])
|
13726
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daabba12eb40a2000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30daabba12eb40a2000005'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:02:51 UTC, "created_at"=>2012-02-07 08:02:51 UTC}}})
|
13727
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
|
13728
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30daabba12eb40a2000004')}).limit(-1)
|
13729
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13730
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13731
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13732
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13733
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13734
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13735
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30daabba12eb40a2000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:02:51 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:02:51 UTC, "created_at"=>2012-02-07 08:02:51 UTC}])
|
13736
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daabba12eb40a2000006')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30daabba12eb40a2000006\"}}"}}})
|
13737
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13738
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
13739
|
+
Parameters: {"eid"=>"4f30daabba12eb40a2000006"}
|
13740
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30daabba12eb40a2000006')}).limit(-1).sort([[:_id, :asc]])
|
13741
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daabba12eb40a2000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30daabba12eb40a2000007'), "action_type"=>"open", "updated_at"=>2012-02-07 08:02:51 UTC, "created_at"=>2012-02-07 08:02:51 UTC}}})
|
13742
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
13743
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30daabba12eb40a2000006')}).limit(-1)
|
13744
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13745
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13746
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13747
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13748
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13749
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13750
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30daabba12eb40a2000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:02:51 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:02:51 UTC, "created_at"=>2012-02-07 08:02:51 UTC}])
|
13751
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daabba12eb40a2000008')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30daabba12eb40a2000008\"}}"}}})
|
13752
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13753
|
+
Processing by MailSpy::TrackingController#link as HTML
|
13754
|
+
Parameters: {"eid"=>"4f30daabba12eb40a2000008", "url"=>"http://google.com", "n"=>"0"}
|
13755
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30daabba12eb40a2000008')}).limit(-1).sort([[:_id, :asc]])
|
13756
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daabba12eb40a2000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30daabba12eb40a2000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:02:51 UTC, "created_at"=>2012-02-07 08:02:51 UTC}}})
|
13757
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
13758
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
13759
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13760
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13761
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13762
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13763
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13764
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13765
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30daabba12eb40a200000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:02:51 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:02:51 UTC, "created_at"=>2012-02-07 08:02:51 UTC}])
|
13766
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30daabba12eb40a200000a')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30daabba12eb40a200000a\"}}"}}})
|
13767
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13768
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13769
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13770
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13772
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13773
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
13774
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
13775
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
13776
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
13777
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30db80ba12eb40b1000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:06:24 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:06:24 UTC, "created_at"=>2012-02-07 08:06:24 UTC}])
|
13778
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db80ba12eb40b1000001')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30db80ba12eb40b1000001\"}}"}}})
|
13779
|
+
[AWS S3 200 0.437806] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
13780
|
+
|
13781
|
+
[AWS S3 200 0.098004] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
13782
|
+
|
13783
|
+
[AWS S3 200 0.129758] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
13784
|
+
|
13785
|
+
Rendered inline template (23.3ms)
|
13786
|
+
[AWS S3 200 0.093053] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
13787
|
+
|
13788
|
+
[AWS S3 200 0.097269] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
13789
|
+
|
13790
|
+
[AWS S3 200 0.131963] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
13791
|
+
|
13792
|
+
Rendered inline template (48.7ms)
|
13793
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13794
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13795
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13796
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13797
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30db84ba12eb40b1000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:06:28 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:06:28 UTC, "created_at"=>2012-02-07 08:06:28 UTC}])
|
13798
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db84ba12eb40b1000002')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30db84ba12eb40b1000002\"}}"}}})
|
13799
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13800
|
+
Rendered inline template (1.5ms)
|
13801
|
+
Rendered inline template (1.3ms)
|
13802
|
+
|
13803
|
+
Sent mail to trcarden@gmail.com (1318ms)
|
13804
|
+
Date: Tue, 07 Feb 2012 00:06:29 -0800
|
13805
|
+
From: test@test.com
|
13806
|
+
Reply-To: testGuy
|
13807
|
+
To: trcarden@gmail.com
|
13808
|
+
Message-ID: <4f30db8522ad_40b180434f4c69026@toms-iphone-4.mail>
|
13809
|
+
Subject: test subject
|
13810
|
+
Mime-Version: 1.0
|
13811
|
+
Content-Type: multipart/alternative;
|
13812
|
+
boundary="--==_mimepart_4f30db84d87fb_40b180434f4c6875b";
|
13813
|
+
charset=UTF-8
|
13814
|
+
Content-Transfer-Encoding: 7bit
|
13815
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30db84ba12eb40b1000002"}}
|
13816
|
+
|
13817
|
+
|
13818
|
+
|
13819
|
+
----==_mimepart_4f30db84d87fb_40b180434f4c6875b
|
13820
|
+
Date: Tue, 07 Feb 2012 00:06:28 -0800
|
13821
|
+
Mime-Version: 1.0
|
13822
|
+
Content-Type: text/plain;
|
13823
|
+
charset=UTF-8
|
13824
|
+
Content-Transfer-Encoding: 7bit
|
13825
|
+
Content-ID: <4f30db84e86e6_40b180434f4c688fd@toms-iphone-4.mail>
|
13826
|
+
|
13827
|
+
You should be able to click on the link and have the server record the even
|
13828
|
+
and forward you to the correct place.
|
13829
|
+
|
13830
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30db84ba12eb40b1000002&n=1&url=www.google.com">My home</a>
|
13831
|
+
---------------------------
|
13832
|
+
|
13833
|
+
You should be able to show images in the email client and have the server
|
13834
|
+
track the open
|
13835
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30db84ba12eb40b1000002' style='display:none' width='1' height='1' border='0' />)
|
13836
|
+
|
13837
|
+
|
13838
|
+
|
13839
|
+
|
13840
|
+
----==_mimepart_4f30db84d87fb_40b180434f4c6875b
|
13841
|
+
Date: Tue, 07 Feb 2012 00:06:28 -0800
|
13842
|
+
Mime-Version: 1.0
|
13843
|
+
Content-Type: text/html;
|
13844
|
+
charset=UTF-8
|
13845
|
+
Content-Transfer-Encoding: 7bit
|
13846
|
+
Content-ID: <4f30db84f13ae_40b180434f4c689d2@toms-iphone-4.mail>
|
13847
|
+
|
13848
|
+
<p>
|
13849
|
+
You should be able to click on the link and have the server record the even
|
13850
|
+
and forward you to the correct place.
|
13851
|
+
|
13852
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30db84ba12eb40b1000002&n=1&url=www.google.com">My home</a>
|
13853
|
+
</p>
|
13854
|
+
|
13855
|
+
<br>
|
13856
|
+
|
13857
|
+
<p>
|
13858
|
+
You should be able to show images in the email client and have the server
|
13859
|
+
track the open
|
13860
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30db84ba12eb40b1000002' style='display:none' width='1' height='1' border='0' />)
|
13861
|
+
</p>
|
13862
|
+
|
13863
|
+
|
13864
|
+
|
13865
|
+
----==_mimepart_4f30db84d87fb_40b180434f4c6875b--
|
13866
|
+
|
13867
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13868
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13869
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13870
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13871
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13872
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13873
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13875
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13876
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13877
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30db86ba12eb40b1000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-02-07 08:06:30 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"test campaign", "utm_term"=>"test stream", "utm_content"=>"test component", "updated_at"=>2012-02-07 08:06:30 UTC, "created_at"=>2012-02-07 08:06:30 UTC}])
|
13878
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db86ba12eb40b1000003')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30db86ba12eb40b1000003\"}}"}}})
|
13879
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13881
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13882
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13883
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13884
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13885
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13886
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13887
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13889
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13890
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13891
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13893
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13894
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13895
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30db86ba12eb40b1000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:06:30 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:06:30 UTC, "created_at"=>2012-02-07 08:06:30 UTC}])
|
13896
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db86ba12eb40b1000004')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30db86ba12eb40b1000004\"}}"}}})
|
13897
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13898
|
+
Processing by MailSpy::TrackingController#action as HTML
|
13899
|
+
Parameters: {"eid"=>"4f30db86ba12eb40b1000004", "action_type"=>"Conversion", "count"=>"3"}
|
13900
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30db86ba12eb40b1000004')}).limit(-1).sort([[:_id, :asc]])
|
13901
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db86ba12eb40b1000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30db86ba12eb40b1000005'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:06:30 UTC, "created_at"=>2012-02-07 08:06:30 UTC}}})
|
13902
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.0ms)
|
13903
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30db86ba12eb40b1000004')}).limit(-1)
|
13904
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13905
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13906
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13907
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13908
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13909
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13910
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30db86ba12eb40b1000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:06:30 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:06:30 UTC, "created_at"=>2012-02-07 08:06:30 UTC}])
|
13911
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db86ba12eb40b1000006')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30db86ba12eb40b1000006\"}}"}}})
|
13912
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13913
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
13914
|
+
Parameters: {"eid"=>"4f30db86ba12eb40b1000006"}
|
13915
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30db86ba12eb40b1000006')}).limit(-1).sort([[:_id, :asc]])
|
13916
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db86ba12eb40b1000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30db86ba12eb40b1000007'), "action_type"=>"open", "updated_at"=>2012-02-07 08:06:30 UTC, "created_at"=>2012-02-07 08:06:30 UTC}}})
|
13917
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
13918
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30db86ba12eb40b1000006')}).limit(-1)
|
13919
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13920
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13921
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13923
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13924
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13925
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30db86ba12eb40b1000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:06:30 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:06:30 UTC, "created_at"=>2012-02-07 08:06:30 UTC}])
|
13926
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db86ba12eb40b1000008')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30db86ba12eb40b1000008\"}}"}}})
|
13927
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13928
|
+
Processing by MailSpy::TrackingController#link as HTML
|
13929
|
+
Parameters: {"eid"=>"4f30db86ba12eb40b1000008", "url"=>"http://google.com", "n"=>"0"}
|
13930
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30db86ba12eb40b1000008')}).limit(-1).sort([[:_id, :asc]])
|
13931
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db86ba12eb40b1000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30db86ba12eb40b1000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:06:30 UTC, "created_at"=>2012-02-07 08:06:30 UTC}}})
|
13932
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
13933
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
13934
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13935
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30db86ba12eb40b1000008')}).limit(-1)
|
13936
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13937
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13938
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13940
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13941
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13942
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30db86ba12eb40b100000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:06:30 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:06:30 UTC, "created_at"=>2012-02-07 08:06:30 UTC}])
|
13943
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30db86ba12eb40b100000a')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30db86ba12eb40b100000a\"}}"}}})
|
13944
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13945
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13946
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13947
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13949
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13950
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
13951
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
13952
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
13953
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
13954
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dcdfba12eb40cd000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:12:14 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:12:15 UTC, "created_at"=>2012-02-07 08:12:15 UTC}])
|
13955
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dcdfba12eb40cd000001')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dcdfba12eb40cd000001\"}}"}}})
|
13956
|
+
[AWS S3 200 0.438500] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
13957
|
+
|
13958
|
+
[AWS S3 200 0.098055] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
13959
|
+
|
13960
|
+
[AWS S3 200 0.134272] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
13961
|
+
|
13962
|
+
Rendered inline template (23.5ms)
|
13963
|
+
[AWS S3 200 0.141429] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
13964
|
+
|
13965
|
+
[AWS S3 200 0.104738] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
13966
|
+
|
13967
|
+
[AWS S3 200 0.120045] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
13968
|
+
|
13969
|
+
Rendered inline template (1.6ms)
|
13970
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
13971
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
13972
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13973
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13974
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dce2ba12eb40cd000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:12:18 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:12:18 UTC, "created_at"=>2012-02-07 08:12:18 UTC}])
|
13975
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dce2ba12eb40cd000002')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dce2ba12eb40cd000002\"}}"}}})
|
13976
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
13977
|
+
Rendered inline template (1.5ms)
|
13978
|
+
Rendered inline template (1.3ms)
|
13979
|
+
|
13980
|
+
Sent mail to trcarden@gmail.com (1912ms)
|
13981
|
+
Date: Tue, 07 Feb 2012 00:12:18 -0800
|
13982
|
+
From: test@test.com
|
13983
|
+
Reply-To: testGuy
|
13984
|
+
To: trcarden@gmail.com
|
13985
|
+
Message-ID: <4f30dce2ba6e6_40cd80434f4c932f0@toms-iphone-4.mail>
|
13986
|
+
Subject: test subject
|
13987
|
+
Mime-Version: 1.0
|
13988
|
+
Content-Type: multipart/alternative;
|
13989
|
+
boundary="--==_mimepart_4f30dce29cfcc_40cd80434f4c92924";
|
13990
|
+
charset=UTF-8
|
13991
|
+
Content-Transfer-Encoding: 7bit
|
13992
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30dce2ba12eb40cd000002"}}
|
13993
|
+
|
13994
|
+
|
13995
|
+
|
13996
|
+
----==_mimepart_4f30dce29cfcc_40cd80434f4c92924
|
13997
|
+
Date: Tue, 07 Feb 2012 00:12:18 -0800
|
13998
|
+
Mime-Version: 1.0
|
13999
|
+
Content-Type: text/plain;
|
14000
|
+
charset=UTF-8
|
14001
|
+
Content-Transfer-Encoding: 7bit
|
14002
|
+
Content-ID: <4f30dce2ad326_40cd80434f4c930d8@toms-iphone-4.mail>
|
14003
|
+
|
14004
|
+
You should be able to click on the link and have the server record the even
|
14005
|
+
and forward you to the correct place.
|
14006
|
+
|
14007
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dce2ba12eb40cd000002&n=1&url=www.google.com">My home</a>
|
14008
|
+
---------------------------
|
14009
|
+
|
14010
|
+
You should be able to show images in the email client and have the server
|
14011
|
+
track the open
|
14012
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dce2ba12eb40cd000002' style='display:none' width='1' height='1' border='0' />)
|
14013
|
+
|
14014
|
+
|
14015
|
+
|
14016
|
+
|
14017
|
+
----==_mimepart_4f30dce29cfcc_40cd80434f4c92924
|
14018
|
+
Date: Tue, 07 Feb 2012 00:12:18 -0800
|
14019
|
+
Mime-Version: 1.0
|
14020
|
+
Content-Type: text/html;
|
14021
|
+
charset=UTF-8
|
14022
|
+
Content-Transfer-Encoding: 7bit
|
14023
|
+
Content-ID: <4f30dce2b57d7_40cd80434f4c93111@toms-iphone-4.mail>
|
14024
|
+
|
14025
|
+
<p>
|
14026
|
+
You should be able to click on the link and have the server record the even
|
14027
|
+
and forward you to the correct place.
|
14028
|
+
|
14029
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dce2ba12eb40cd000002&n=1&url=www.google.com">My home</a>
|
14030
|
+
</p>
|
14031
|
+
|
14032
|
+
<br>
|
14033
|
+
|
14034
|
+
<p>
|
14035
|
+
You should be able to show images in the email client and have the server
|
14036
|
+
track the open
|
14037
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dce2ba12eb40cd000002' style='display:none' width='1' height='1' border='0' />)
|
14038
|
+
</p>
|
14039
|
+
|
14040
|
+
|
14041
|
+
|
14042
|
+
----==_mimepart_4f30dce29cfcc_40cd80434f4c92924--
|
14043
|
+
|
14044
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14045
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14046
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14047
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14048
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14049
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14050
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14052
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14053
|
+
MONGODB dummy_test['$cmd'].find({:create=>"mail_spy_process_logs"}).limit(-1)
|
14054
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14055
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14056
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14057
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14058
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-02-07 08:12:20 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"test campaign", "utm_term"=>"test stream", "utm_content"=>"test component", "updated_at"=>2012-02-07 08:12:20 UTC, "created_at"=>2012-02-07 08:12:20 UTC}])
|
14059
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000003')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dce4ba12eb40cd000003\"}}"}}})
|
14060
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14061
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14062
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14064
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14065
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14066
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14067
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14068
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14069
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14071
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14072
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14073
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14074
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14075
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14076
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14077
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14078
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14079
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14080
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14081
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14082
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14083
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14084
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14085
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14086
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14088
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14089
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14090
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:12:20 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:12:20 UTC, "created_at"=>2012-02-07 08:12:20 UTC}])
|
14091
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000004')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dce4ba12eb40cd000004\"}}"}}})
|
14092
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14093
|
+
Processing by MailSpy::TrackingController#action as HTML
|
14094
|
+
Parameters: {"eid"=>"4f30dce4ba12eb40cd000004", "action_type"=>"Conversion", "count"=>"3"}
|
14095
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dce4ba12eb40cd000004')}).limit(-1).sort([[:_id, :asc]])
|
14096
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000005'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:12:20 UTC, "created_at"=>2012-02-07 08:12:20 UTC}}})
|
14097
|
+
Completed 200 OK in 58ms (ActiveRecord: 0.0ms)
|
14098
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dce4ba12eb40cd000004')}).limit(-1)
|
14099
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14100
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14101
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14103
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14104
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14105
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:12:20 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:12:20 UTC, "created_at"=>2012-02-07 08:12:20 UTC}])
|
14106
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000006')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dce4ba12eb40cd000006\"}}"}}})
|
14107
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14108
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
14109
|
+
Parameters: {"eid"=>"4f30dce4ba12eb40cd000006"}
|
14110
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dce4ba12eb40cd000006')}).limit(-1).sort([[:_id, :asc]])
|
14111
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000007'), "action_type"=>"open", "updated_at"=>2012-02-07 08:12:20 UTC, "created_at"=>2012-02-07 08:12:20 UTC}}})
|
14112
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
14113
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dce4ba12eb40cd000006')}).limit(-1)
|
14114
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14115
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14116
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14118
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14119
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14120
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:12:20 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:12:20 UTC, "created_at"=>2012-02-07 08:12:20 UTC}])
|
14121
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000008')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dce4ba12eb40cd000008\"}}"}}})
|
14122
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14123
|
+
Processing by MailSpy::TrackingController#link as HTML
|
14124
|
+
Parameters: {"eid"=>"4f30dce4ba12eb40cd000008", "url"=>"http://google.com", "n"=>"0"}
|
14125
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dce4ba12eb40cd000008')}).limit(-1).sort([[:_id, :asc]])
|
14126
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dce4ba12eb40cd000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:12:20 UTC, "created_at"=>2012-02-07 08:12:20 UTC}}})
|
14127
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
14128
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
14129
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14130
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dce4ba12eb40cd000008')}).limit(-1)
|
14131
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14132
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14133
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14134
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14135
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14136
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14137
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dce4ba12eb40cd00000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:12:20 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:12:20 UTC, "created_at"=>2012-02-07 08:12:20 UTC}])
|
14138
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dce4ba12eb40cd00000a')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dce4ba12eb40cd00000a\"}}"}}})
|
14139
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14140
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14141
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14142
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14143
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14144
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14145
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
14146
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
14147
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
14148
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14149
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd0bba12eb40d7000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:12:58 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:12:59 UTC, "created_at"=>2012-02-07 08:12:59 UTC}])
|
14150
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd0bba12eb40d7000001')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd0bba12eb40d7000001\"}}"}}})
|
14151
|
+
[AWS S3 200 0.762929] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14152
|
+
|
14153
|
+
[AWS S3 200 0.097653] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14154
|
+
|
14155
|
+
[AWS S3 200 0.106416] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14156
|
+
|
14157
|
+
Rendered inline template (23.0ms)
|
14158
|
+
[AWS S3 200 0.143369] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14159
|
+
|
14160
|
+
[AWS S3 200 0.107183] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14161
|
+
|
14162
|
+
[AWS S3 200 0.122007] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14163
|
+
|
14164
|
+
Rendered inline template (1.6ms)
|
14165
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14166
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14167
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14168
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14169
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd0eba12eb40d7000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:13:02 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:13:02 UTC, "created_at"=>2012-02-07 08:13:02 UTC}])
|
14170
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd0eba12eb40d7000002')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd0eba12eb40d7000002\"}}"}}})
|
14171
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14172
|
+
Rendered inline template (1.5ms)
|
14173
|
+
Rendered inline template (1.3ms)
|
14174
|
+
|
14175
|
+
Sent mail to trcarden@gmail.com (957ms)
|
14176
|
+
Date: Tue, 07 Feb 2012 00:13:03 -0800
|
14177
|
+
From: test@test.com
|
14178
|
+
Reply-To: testGuy
|
14179
|
+
To: trcarden@gmail.com
|
14180
|
+
Message-ID: <4f30dd0f180ef_40d780434f4c2666d@toms-iphone-4.mail>
|
14181
|
+
Subject: test subject
|
14182
|
+
Mime-Version: 1.0
|
14183
|
+
Content-Type: multipart/alternative;
|
14184
|
+
boundary="--==_mimepart_4f30dd0eef254_40d780434f4c26397";
|
14185
|
+
charset=UTF-8
|
14186
|
+
Content-Transfer-Encoding: 7bit
|
14187
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30dd0eba12eb40d7000002"}}
|
14188
|
+
|
14189
|
+
|
14190
|
+
|
14191
|
+
----==_mimepart_4f30dd0eef254_40d780434f4c26397
|
14192
|
+
Date: Tue, 07 Feb 2012 00:13:03 -0800
|
14193
|
+
Mime-Version: 1.0
|
14194
|
+
Content-Type: text/plain;
|
14195
|
+
charset=UTF-8
|
14196
|
+
Content-Transfer-Encoding: 7bit
|
14197
|
+
Content-ID: <4f30dd0faac6_40d780434f4c2648e@toms-iphone-4.mail>
|
14198
|
+
|
14199
|
+
You should be able to click on the link and have the server record the even
|
14200
|
+
and forward you to the correct place.
|
14201
|
+
|
14202
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dd0eba12eb40d7000002&n=1&url=www.google.com">My home</a>
|
14203
|
+
---------------------------
|
14204
|
+
|
14205
|
+
You should be able to show images in the email client and have the server
|
14206
|
+
track the open
|
14207
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dd0eba12eb40d7000002' style='display:none' width='1' height='1' border='0' />)
|
14208
|
+
|
14209
|
+
|
14210
|
+
|
14211
|
+
|
14212
|
+
----==_mimepart_4f30dd0eef254_40d780434f4c26397
|
14213
|
+
Date: Tue, 07 Feb 2012 00:13:03 -0800
|
14214
|
+
Mime-Version: 1.0
|
14215
|
+
Content-Type: text/html;
|
14216
|
+
charset=UTF-8
|
14217
|
+
Content-Transfer-Encoding: 7bit
|
14218
|
+
Content-ID: <4f30dd0f13211_40d780434f4c26586@toms-iphone-4.mail>
|
14219
|
+
|
14220
|
+
<p>
|
14221
|
+
You should be able to click on the link and have the server record the even
|
14222
|
+
and forward you to the correct place.
|
14223
|
+
|
14224
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dd0eba12eb40d7000002&n=1&url=www.google.com">My home</a>
|
14225
|
+
</p>
|
14226
|
+
|
14227
|
+
<br>
|
14228
|
+
|
14229
|
+
<p>
|
14230
|
+
You should be able to show images in the email client and have the server
|
14231
|
+
track the open
|
14232
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dd0eba12eb40d7000002' style='display:none' width='1' height='1' border='0' />)
|
14233
|
+
</p>
|
14234
|
+
|
14235
|
+
|
14236
|
+
|
14237
|
+
----==_mimepart_4f30dd0eef254_40d780434f4c26397--
|
14238
|
+
|
14239
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14240
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14243
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14244
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14245
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14246
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14247
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14248
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14249
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14250
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14251
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14252
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd0fba12eb40d7000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-02-07 08:13:03 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"test campaign", "utm_term"=>"test stream", "utm_content"=>"test component", "updated_at"=>2012-02-07 08:13:03 UTC, "created_at"=>2012-02-07 08:13:03 UTC}])
|
14253
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd0fba12eb40d7000003')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd0fba12eb40d7000003\"}}"}}})
|
14254
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14255
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14256
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14257
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14258
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14259
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14260
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14261
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14262
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14263
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14264
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14265
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14266
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14267
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14268
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14269
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14270
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14271
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14272
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14274
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14275
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14276
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14277
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14278
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14279
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14280
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14281
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14282
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14283
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14284
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:13:04 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:13:04 UTC, "created_at"=>2012-02-07 08:13:04 UTC}])
|
14285
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000004')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd10ba12eb40d7000004\"}}"}}})
|
14286
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14287
|
+
Processing by MailSpy::TrackingController#action as HTML
|
14288
|
+
Parameters: {"eid"=>"4f30dd10ba12eb40d7000004", "action_type"=>"Conversion", "count"=>"3"}
|
14289
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd10ba12eb40d7000004')}).limit(-1).sort([[:_id, :asc]])
|
14290
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000005'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:13:04 UTC, "created_at"=>2012-02-07 08:13:04 UTC}}})
|
14291
|
+
Completed 200 OK in 56ms (ActiveRecord: 0.0ms)
|
14292
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd10ba12eb40d7000004')}).limit(-1)
|
14293
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14294
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14295
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14296
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14297
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14298
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14299
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:13:04 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:13:04 UTC, "created_at"=>2012-02-07 08:13:04 UTC}])
|
14300
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000006')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd10ba12eb40d7000006\"}}"}}})
|
14301
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14302
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
14303
|
+
Parameters: {"eid"=>"4f30dd10ba12eb40d7000006"}
|
14304
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd10ba12eb40d7000006')}).limit(-1).sort([[:_id, :asc]])
|
14305
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000007'), "action_type"=>"open", "updated_at"=>2012-02-07 08:13:04 UTC, "created_at"=>2012-02-07 08:13:04 UTC}}})
|
14306
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
14307
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd10ba12eb40d7000006')}).limit(-1)
|
14308
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14309
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14311
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14312
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14313
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14314
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:13:04 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:13:04 UTC, "created_at"=>2012-02-07 08:13:04 UTC}])
|
14315
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000008')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd10ba12eb40d7000008\"}}"}}})
|
14316
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14317
|
+
Processing by MailSpy::TrackingController#link as HTML
|
14318
|
+
Parameters: {"eid"=>"4f30dd10ba12eb40d7000008", "url"=>"http://google.com", "n"=>"0"}
|
14319
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd10ba12eb40d7000008')}).limit(-1).sort([[:_id, :asc]])
|
14320
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dd10ba12eb40d7000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:13:04 UTC, "created_at"=>2012-02-07 08:13:04 UTC}}})
|
14321
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
14322
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
14323
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14324
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd10ba12eb40d7000008')}).limit(-1)
|
14325
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14326
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14327
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14329
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14330
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14331
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd10ba12eb40d700000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:13:04 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:13:04 UTC, "created_at"=>2012-02-07 08:13:04 UTC}])
|
14332
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd10ba12eb40d700000a')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd10ba12eb40d700000a\"}}"}}})
|
14333
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14334
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14335
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14336
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14337
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14338
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14339
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
14340
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
14341
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
14342
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14343
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd70ba12eb40e8000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:14:40 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:14:40 UTC, "created_at"=>2012-02-07 08:14:40 UTC}])
|
14344
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd70ba12eb40e8000001')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd70ba12eb40e8000001\"}}"}}})
|
14345
|
+
[AWS S3 200 0.425059] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14346
|
+
|
14347
|
+
[AWS S3 200 0.128409] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14348
|
+
|
14349
|
+
[AWS S3 200 0.112256] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14350
|
+
|
14351
|
+
Rendered inline template (23.3ms)
|
14352
|
+
[AWS S3 200 0.140637] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14353
|
+
|
14354
|
+
[AWS S3 200 0.093323] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14355
|
+
|
14356
|
+
[AWS S3 200 0.118030] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14357
|
+
|
14358
|
+
Rendered inline template (1.6ms)
|
14359
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14360
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14361
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14363
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd73ba12eb40e8000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:14:43 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:14:43 UTC, "created_at"=>2012-02-07 08:14:43 UTC}])
|
14364
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd73ba12eb40e8000002')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd73ba12eb40e8000002\"}}"}}})
|
14365
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14366
|
+
Rendered inline template (1.6ms)
|
14367
|
+
Rendered inline template (1.3ms)
|
14368
|
+
|
14369
|
+
Sent mail to trcarden@gmail.com (1059ms)
|
14370
|
+
Date: Tue, 07 Feb 2012 00:14:44 -0800
|
14371
|
+
From: test@test.com
|
14372
|
+
Reply-To: testGuy
|
14373
|
+
To: trcarden@gmail.com
|
14374
|
+
Message-ID: <4f30dd74de11_40e880434f4c18a6@toms-iphone-4.mail>
|
14375
|
+
Subject: test subject
|
14376
|
+
Mime-Version: 1.0
|
14377
|
+
Content-Type: multipart/alternative;
|
14378
|
+
boundary="--==_mimepart_4f30dd73e4b30_40e880434f4c15d6";
|
14379
|
+
charset=UTF-8
|
14380
|
+
Content-Transfer-Encoding: 7bit
|
14381
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30dd73ba12eb40e8000002"}}
|
14382
|
+
|
14383
|
+
|
14384
|
+
|
14385
|
+
----==_mimepart_4f30dd73e4b30_40e880434f4c15d6
|
14386
|
+
Date: Tue, 07 Feb 2012 00:14:44 -0800
|
14387
|
+
Mime-Version: 1.0
|
14388
|
+
Content-Type: text/plain;
|
14389
|
+
charset=UTF-8
|
14390
|
+
Content-Transfer-Encoding: 7bit
|
14391
|
+
Content-ID: <4f30dd746b1_40e880434f4c1636@toms-iphone-4.mail>
|
14392
|
+
|
14393
|
+
You should be able to click on the link and have the server record the even
|
14394
|
+
and forward you to the correct place.
|
14395
|
+
|
14396
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dd73ba12eb40e8000002&n=1&url=www.google.com">My home</a>
|
14397
|
+
---------------------------
|
14398
|
+
|
14399
|
+
You should be able to show images in the email client and have the server
|
14400
|
+
track the open
|
14401
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dd73ba12eb40e8000002' style='display:none' width='1' height='1' border='0' />)
|
14402
|
+
|
14403
|
+
|
14404
|
+
|
14405
|
+
|
14406
|
+
----==_mimepart_4f30dd73e4b30_40e880434f4c15d6
|
14407
|
+
Date: Tue, 07 Feb 2012 00:14:44 -0800
|
14408
|
+
Mime-Version: 1.0
|
14409
|
+
Content-Type: text/html;
|
14410
|
+
charset=UTF-8
|
14411
|
+
Content-Transfer-Encoding: 7bit
|
14412
|
+
Content-ID: <4f30dd748f64_40e880434f4c1750@toms-iphone-4.mail>
|
14413
|
+
|
14414
|
+
<p>
|
14415
|
+
You should be able to click on the link and have the server record the even
|
14416
|
+
and forward you to the correct place.
|
14417
|
+
|
14418
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dd73ba12eb40e8000002&n=1&url=www.google.com">My home</a>
|
14419
|
+
</p>
|
14420
|
+
|
14421
|
+
<br>
|
14422
|
+
|
14423
|
+
<p>
|
14424
|
+
You should be able to show images in the email client and have the server
|
14425
|
+
track the open
|
14426
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dd73ba12eb40e8000002' style='display:none' width='1' height='1' border='0' />)
|
14427
|
+
</p>
|
14428
|
+
|
14429
|
+
|
14430
|
+
|
14431
|
+
----==_mimepart_4f30dd73e4b30_40e880434f4c15d6--
|
14432
|
+
|
14433
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14434
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14435
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14436
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14437
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14438
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14439
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14440
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14441
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14442
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14443
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14444
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14445
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14446
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-02-07 08:14:45 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"test campaign", "utm_term"=>"test stream", "utm_content"=>"test component", "updated_at"=>2012-02-07 08:14:45 UTC, "created_at"=>2012-02-07 08:14:45 UTC}])
|
14447
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000003')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd75ba12eb40e8000003\"}}"}}})
|
14448
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14449
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14450
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14451
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14452
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14453
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14454
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14455
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14456
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14457
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14458
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14459
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14460
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14461
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14462
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14463
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14464
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14465
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14466
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14468
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14469
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14470
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14471
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14472
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14473
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14474
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14475
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14476
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14477
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14478
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:14:45 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:14:45 UTC, "created_at"=>2012-02-07 08:14:45 UTC}])
|
14479
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000004')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd75ba12eb40e8000004\"}}"}}})
|
14480
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14481
|
+
Processing by MailSpy::TrackingController#action as HTML
|
14482
|
+
Parameters: {"eid"=>"4f30dd75ba12eb40e8000004", "action_type"=>"Conversion", "count"=>"3"}
|
14483
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd75ba12eb40e8000004')}).limit(-1).sort([[:_id, :asc]])
|
14484
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000005'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:14:45 UTC, "created_at"=>2012-02-07 08:14:45 UTC}}})
|
14485
|
+
Completed 200 OK in 57ms (ActiveRecord: 0.0ms)
|
14486
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd75ba12eb40e8000004')}).limit(-1)
|
14487
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14488
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14489
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14490
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14491
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14492
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14493
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:14:45 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:14:45 UTC, "created_at"=>2012-02-07 08:14:45 UTC}])
|
14494
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000006')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd75ba12eb40e8000006\"}}"}}})
|
14495
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14496
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
14497
|
+
Parameters: {"eid"=>"4f30dd75ba12eb40e8000006"}
|
14498
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd75ba12eb40e8000006')}).limit(-1).sort([[:_id, :asc]])
|
14499
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000007'), "action_type"=>"open", "updated_at"=>2012-02-07 08:14:45 UTC, "created_at"=>2012-02-07 08:14:45 UTC}}})
|
14500
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
14501
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd75ba12eb40e8000006')}).limit(-1)
|
14502
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14503
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14504
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14505
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14506
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14507
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14508
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:14:45 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:14:45 UTC, "created_at"=>2012-02-07 08:14:45 UTC}])
|
14509
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000008')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd75ba12eb40e8000008\"}}"}}})
|
14510
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14511
|
+
Processing by MailSpy::TrackingController#link as HTML
|
14512
|
+
Parameters: {"eid"=>"4f30dd75ba12eb40e8000008", "url"=>"http://google.com", "n"=>"0"}
|
14513
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd75ba12eb40e8000008')}).limit(-1).sort([[:_id, :asc]])
|
14514
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dd75ba12eb40e8000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:14:45 UTC, "created_at"=>2012-02-07 08:14:45 UTC}}})
|
14515
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
14516
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
14517
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14518
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd75ba12eb40e8000008')}).limit(-1)
|
14519
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14520
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14521
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14522
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14523
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14524
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14525
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd75ba12eb40e800000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:14:45 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:14:45 UTC, "created_at"=>2012-02-07 08:14:45 UTC}])
|
14526
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd75ba12eb40e800000a')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd75ba12eb40e800000a\"}}"}}})
|
14527
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14528
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14529
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14530
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14532
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14533
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
14534
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
14535
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
14536
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14537
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd92ba12eb40ec000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:15:14 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:15:14 UTC, "created_at"=>2012-02-07 08:15:14 UTC}])
|
14538
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd92ba12eb40ec000001')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd92ba12eb40ec000001\"}}"}}})
|
14539
|
+
[AWS S3 200 0.415939] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14540
|
+
|
14541
|
+
[AWS S3 200 0.089280] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14542
|
+
|
14543
|
+
[AWS S3 200 0.126433] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14544
|
+
|
14545
|
+
Rendered inline template (23.4ms)
|
14546
|
+
[AWS S3 200 0.099655] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14547
|
+
|
14548
|
+
[AWS S3 200 0.112143] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14549
|
+
|
14550
|
+
[AWS S3 200 0.127089] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14551
|
+
|
14552
|
+
Rendered inline template (47.7ms)
|
14553
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14554
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14555
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14556
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14557
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd96ba12eb40ec000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:15:18 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:15:18 UTC, "created_at"=>2012-02-07 08:15:18 UTC}])
|
14558
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd96ba12eb40ec000002')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd96ba12eb40ec000002\"}}"}}})
|
14559
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14560
|
+
Rendered inline template (1.6ms)
|
14561
|
+
Rendered inline template (1.3ms)
|
14562
|
+
|
14563
|
+
Sent mail to trcarden@gmail.com (952ms)
|
14564
|
+
Date: Tue, 07 Feb 2012 00:15:18 -0800
|
14565
|
+
From: test@test.com
|
14566
|
+
Reply-To: testGuy
|
14567
|
+
To: trcarden@gmail.com
|
14568
|
+
Message-ID: <4f30dd9646a50_40ec80434f4c581d3@toms-iphone-4.mail>
|
14569
|
+
Subject: test subject
|
14570
|
+
Mime-Version: 1.0
|
14571
|
+
Content-Type: multipart/alternative;
|
14572
|
+
boundary="--==_mimepart_4f30dd96292af_40ec80434f4c57885";
|
14573
|
+
charset=UTF-8
|
14574
|
+
Content-Transfer-Encoding: 7bit
|
14575
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30dd96ba12eb40ec000002"}}
|
14576
|
+
|
14577
|
+
|
14578
|
+
|
14579
|
+
----==_mimepart_4f30dd96292af_40ec80434f4c57885
|
14580
|
+
Date: Tue, 07 Feb 2012 00:15:18 -0800
|
14581
|
+
Mime-Version: 1.0
|
14582
|
+
Content-Type: text/plain;
|
14583
|
+
charset=UTF-8
|
14584
|
+
Content-Transfer-Encoding: 7bit
|
14585
|
+
Content-ID: <4f30dd9639073_40ec80434f4c5794a@toms-iphone-4.mail>
|
14586
|
+
|
14587
|
+
You should be able to click on the link and have the server record the even
|
14588
|
+
and forward you to the correct place.
|
14589
|
+
|
14590
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dd96ba12eb40ec000002&n=1&url=www.google.com">My home</a>
|
14591
|
+
---------------------------
|
14592
|
+
|
14593
|
+
You should be able to show images in the email client and have the server
|
14594
|
+
track the open
|
14595
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dd96ba12eb40ec000002' style='display:none' width='1' height='1' border='0' />)
|
14596
|
+
|
14597
|
+
|
14598
|
+
|
14599
|
+
|
14600
|
+
----==_mimepart_4f30dd96292af_40ec80434f4c57885
|
14601
|
+
Date: Tue, 07 Feb 2012 00:15:18 -0800
|
14602
|
+
Mime-Version: 1.0
|
14603
|
+
Content-Type: text/html;
|
14604
|
+
charset=UTF-8
|
14605
|
+
Content-Transfer-Encoding: 7bit
|
14606
|
+
Content-ID: <4f30dd9641b62_40ec80434f4c58093@toms-iphone-4.mail>
|
14607
|
+
|
14608
|
+
<p>
|
14609
|
+
You should be able to click on the link and have the server record the even
|
14610
|
+
and forward you to the correct place.
|
14611
|
+
|
14612
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dd96ba12eb40ec000002&n=1&url=www.google.com">My home</a>
|
14613
|
+
</p>
|
14614
|
+
|
14615
|
+
<br>
|
14616
|
+
|
14617
|
+
<p>
|
14618
|
+
You should be able to show images in the email client and have the server
|
14619
|
+
track the open
|
14620
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dd96ba12eb40ec000002' style='display:none' width='1' height='1' border='0' />)
|
14621
|
+
</p>
|
14622
|
+
|
14623
|
+
|
14624
|
+
|
14625
|
+
----==_mimepart_4f30dd96292af_40ec80434f4c57885--
|
14626
|
+
|
14627
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14628
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14629
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14630
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14631
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14632
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14633
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14635
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14636
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14637
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14638
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14639
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14640
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-02-07 08:15:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"test campaign", "utm_term"=>"test stream", "utm_content"=>"test component", "updated_at"=>2012-02-07 08:15:19 UTC, "created_at"=>2012-02-07 08:15:19 UTC}])
|
14641
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000003')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd97ba12eb40ec000003\"}}"}}})
|
14642
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14643
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14644
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14645
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14646
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14647
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14648
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14649
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14650
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14651
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14652
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14653
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14654
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14655
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14656
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14657
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14658
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14659
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14660
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14661
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14662
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14663
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14664
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14665
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14666
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14667
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14668
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14669
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14670
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14671
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14672
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:15:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:15:19 UTC, "created_at"=>2012-02-07 08:15:19 UTC}])
|
14673
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000004')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd97ba12eb40ec000004\"}}"}}})
|
14674
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14675
|
+
Processing by MailSpy::TrackingController#action as HTML
|
14676
|
+
Parameters: {"eid"=>"4f30dd97ba12eb40ec000004", "action_type"=>"Conversion", "count"=>"3"}
|
14677
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd97ba12eb40ec000004')}).limit(-1).sort([[:_id, :asc]])
|
14678
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000005'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:15:19 UTC, "created_at"=>2012-02-07 08:15:19 UTC}}})
|
14679
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
|
14680
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd97ba12eb40ec000004')}).limit(-1)
|
14681
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14682
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14683
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14684
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14685
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14686
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14687
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:15:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:15:19 UTC, "created_at"=>2012-02-07 08:15:19 UTC}])
|
14688
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000006')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd97ba12eb40ec000006\"}}"}}})
|
14689
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14690
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
14691
|
+
Parameters: {"eid"=>"4f30dd97ba12eb40ec000006"}
|
14692
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd97ba12eb40ec000006')}).limit(-1).sort([[:_id, :asc]])
|
14693
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000007'), "action_type"=>"open", "updated_at"=>2012-02-07 08:15:19 UTC, "created_at"=>2012-02-07 08:15:19 UTC}}})
|
14694
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
14695
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd97ba12eb40ec000006')}).limit(-1)
|
14696
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14697
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14698
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14699
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14700
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14701
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14702
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:15:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:15:19 UTC, "created_at"=>2012-02-07 08:15:19 UTC}])
|
14703
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000008')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd97ba12eb40ec000008\"}}"}}})
|
14704
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14705
|
+
Processing by MailSpy::TrackingController#link as HTML
|
14706
|
+
Parameters: {"eid"=>"4f30dd97ba12eb40ec000008", "url"=>"http://google.com", "n"=>"0"}
|
14707
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd97ba12eb40ec000008')}).limit(-1).sort([[:_id, :asc]])
|
14708
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dd97ba12eb40ec000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:15:19 UTC, "created_at"=>2012-02-07 08:15:19 UTC}}})
|
14709
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
14710
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
14711
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14712
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dd97ba12eb40ec000008')}).limit(-1)
|
14713
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14714
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14715
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14716
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14717
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14718
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14719
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dd97ba12eb40ec00000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:15:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:15:19 UTC, "created_at"=>2012-02-07 08:15:19 UTC}])
|
14720
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dd97ba12eb40ec00000a')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30dd97ba12eb40ec00000a\"}}"}}})
|
14721
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14722
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14723
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14724
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14726
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14727
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
14728
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
14729
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
14730
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14731
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30ddc8ba12eb40f3000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:16:07 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:16:08 UTC, "created_at"=>2012-02-07 08:16:08 UTC}])
|
14732
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddc8ba12eb40f3000001')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30ddc8ba12eb40f3000001\"}}"}}})
|
14733
|
+
[AWS S3 200 0.437894] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14734
|
+
|
14735
|
+
[AWS S3 200 0.094177] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14736
|
+
|
14737
|
+
[AWS S3 200 0.119569] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14738
|
+
|
14739
|
+
Rendered inline template (23.9ms)
|
14740
|
+
[AWS S3 200 0.095431] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14741
|
+
|
14742
|
+
[AWS S3 200 0.100802] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14743
|
+
|
14744
|
+
[AWS S3 200 0.103341] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14745
|
+
|
14746
|
+
Rendered inline template (1.6ms)
|
14747
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14748
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14749
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14750
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14751
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30ddcbba12eb40f3000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:16:11 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:16:11 UTC, "created_at"=>2012-02-07 08:16:11 UTC}])
|
14752
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddcbba12eb40f3000002')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30ddcbba12eb40f3000002\"}}"}}})
|
14753
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14754
|
+
Rendered inline template (1.6ms)
|
14755
|
+
Rendered inline template (1.3ms)
|
14756
|
+
|
14757
|
+
Sent mail to trcarden@gmail.com (1254ms)
|
14758
|
+
Date: Tue, 07 Feb 2012 00:16:11 -0800
|
14759
|
+
From: test@test.com
|
14760
|
+
Reply-To: testGuy
|
14761
|
+
To: trcarden@gmail.com
|
14762
|
+
Message-ID: <4f30ddcbb0bd2_40f380434f4c3506e@toms-iphone-4.mail>
|
14763
|
+
Subject: test subject
|
14764
|
+
Mime-Version: 1.0
|
14765
|
+
Content-Type: multipart/alternative;
|
14766
|
+
boundary="--==_mimepart_4f30ddcb92c27_40f380434f4c3476";
|
14767
|
+
charset=UTF-8
|
14768
|
+
Content-Transfer-Encoding: 7bit
|
14769
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30ddcbba12eb40f3000002"}}
|
14770
|
+
|
14771
|
+
|
14772
|
+
|
14773
|
+
----==_mimepart_4f30ddcb92c27_40f380434f4c3476
|
14774
|
+
Date: Tue, 07 Feb 2012 00:16:11 -0800
|
14775
|
+
Mime-Version: 1.0
|
14776
|
+
Content-Type: text/plain;
|
14777
|
+
charset=UTF-8
|
14778
|
+
Content-Transfer-Encoding: 7bit
|
14779
|
+
Content-ID: <4f30ddcba2b79_40f380434f4c3486c@toms-iphone-4.mail>
|
14780
|
+
|
14781
|
+
You should be able to click on the link and have the server record the even
|
14782
|
+
and forward you to the correct place.
|
14783
|
+
|
14784
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30ddcbba12eb40f3000002&n=1&url=www.google.com">My home</a>
|
14785
|
+
---------------------------
|
14786
|
+
|
14787
|
+
You should be able to show images in the email client and have the server
|
14788
|
+
track the open
|
14789
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30ddcbba12eb40f3000002' style='display:none' width='1' height='1' border='0' />)
|
14790
|
+
|
14791
|
+
|
14792
|
+
|
14793
|
+
|
14794
|
+
----==_mimepart_4f30ddcb92c27_40f380434f4c3476
|
14795
|
+
Date: Tue, 07 Feb 2012 00:16:11 -0800
|
14796
|
+
Mime-Version: 1.0
|
14797
|
+
Content-Type: text/html;
|
14798
|
+
charset=UTF-8
|
14799
|
+
Content-Transfer-Encoding: 7bit
|
14800
|
+
Content-ID: <4f30ddcbabc4d_40f380434f4c349f4@toms-iphone-4.mail>
|
14801
|
+
|
14802
|
+
<p>
|
14803
|
+
You should be able to click on the link and have the server record the even
|
14804
|
+
and forward you to the correct place.
|
14805
|
+
|
14806
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30ddcbba12eb40f3000002&n=1&url=www.google.com">My home</a>
|
14807
|
+
</p>
|
14808
|
+
|
14809
|
+
<br>
|
14810
|
+
|
14811
|
+
<p>
|
14812
|
+
You should be able to show images in the email client and have the server
|
14813
|
+
track the open
|
14814
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30ddcbba12eb40f3000002' style='display:none' width='1' height='1' border='0' />)
|
14815
|
+
</p>
|
14816
|
+
|
14817
|
+
|
14818
|
+
|
14819
|
+
----==_mimepart_4f30ddcb92c27_40f380434f4c3476--
|
14820
|
+
|
14821
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14822
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14823
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14824
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14825
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14826
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14827
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14828
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14829
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14830
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14831
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14832
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14833
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14834
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30ddccba12eb40f3000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-02-07 08:16:12 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"test campaign", "utm_term"=>"test stream", "utm_content"=>"test component", "updated_at"=>2012-02-07 08:16:12 UTC, "created_at"=>2012-02-07 08:16:12 UTC}])
|
14835
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddccba12eb40f3000003')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30ddccba12eb40f3000003\"}}"}}})
|
14836
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14837
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14838
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14840
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14841
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14842
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14843
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14844
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14845
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14846
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14847
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14848
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14849
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14850
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14851
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14852
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14853
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14854
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14856
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14857
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14858
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14859
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14860
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
14861
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
14862
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14863
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14864
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14865
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14866
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30ddccba12eb40f3000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:16:12 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:16:12 UTC, "created_at"=>2012-02-07 08:16:12 UTC}])
|
14867
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddccba12eb40f3000004')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30ddccba12eb40f3000004\"}}"}}})
|
14868
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14869
|
+
Processing by MailSpy::TrackingController#action as HTML
|
14870
|
+
Parameters: {"eid"=>"4f30ddccba12eb40f3000004", "action_type"=>"Conversion", "count"=>"3"}
|
14871
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30ddccba12eb40f3000004')}).limit(-1).sort([[:_id, :asc]])
|
14872
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddccba12eb40f3000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30ddccba12eb40f3000005'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:16:13 UTC, "created_at"=>2012-02-07 08:16:13 UTC}}})
|
14873
|
+
Completed 200 OK in 57ms (ActiveRecord: 0.0ms)
|
14874
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30ddccba12eb40f3000004')}).limit(-1)
|
14875
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14876
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14877
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14878
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14879
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14880
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14881
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30ddcdba12eb40f3000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:16:13 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:16:13 UTC, "created_at"=>2012-02-07 08:16:13 UTC}])
|
14882
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddcdba12eb40f3000006')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30ddcdba12eb40f3000006\"}}"}}})
|
14883
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14884
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
14885
|
+
Parameters: {"eid"=>"4f30ddcdba12eb40f3000006"}
|
14886
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30ddcdba12eb40f3000006')}).limit(-1).sort([[:_id, :asc]])
|
14887
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddcdba12eb40f3000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30ddcdba12eb40f3000007'), "action_type"=>"open", "updated_at"=>2012-02-07 08:16:13 UTC, "created_at"=>2012-02-07 08:16:13 UTC}}})
|
14888
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
14889
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30ddcdba12eb40f3000006')}).limit(-1)
|
14890
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14891
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14892
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14893
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14894
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14895
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14896
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30ddcdba12eb40f3000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:16:13 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:16:13 UTC, "created_at"=>2012-02-07 08:16:13 UTC}])
|
14897
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddcdba12eb40f3000008')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30ddcdba12eb40f3000008\"}}"}}})
|
14898
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14899
|
+
Processing by MailSpy::TrackingController#link as HTML
|
14900
|
+
Parameters: {"eid"=>"4f30ddcdba12eb40f3000008", "url"=>"http://google.com", "n"=>"0"}
|
14901
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30ddcdba12eb40f3000008')}).limit(-1).sort([[:_id, :asc]])
|
14902
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddcdba12eb40f3000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30ddcdba12eb40f3000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:16:13 UTC, "created_at"=>2012-02-07 08:16:13 UTC}}})
|
14903
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
14904
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
14905
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14906
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30ddcdba12eb40f3000008')}).limit(-1)
|
14907
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14908
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14909
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14910
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14911
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14912
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14913
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30ddcdba12eb40f300000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:16:13 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:16:13 UTC, "created_at"=>2012-02-07 08:16:13 UTC}])
|
14914
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30ddcdba12eb40f300000a')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30ddcdba12eb40f300000a\"}}"}}})
|
14915
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14916
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14917
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14918
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14920
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14921
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
14922
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
14923
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
14924
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
14925
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de0aba12eb40f9000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:17:14 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:17:14 UTC, "created_at"=>2012-02-07 08:17:14 UTC}])
|
14926
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0aba12eb40f9000001')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de0aba12eb40f9000001\"}}"}}})
|
14927
|
+
[AWS S3 200 0.760829] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14928
|
+
|
14929
|
+
[AWS S3 200 0.098976] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14930
|
+
|
14931
|
+
[AWS S3 200 0.109301] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
14932
|
+
|
14933
|
+
Rendered inline template (23.6ms)
|
14934
|
+
[AWS S3 200 0.141005] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
14935
|
+
|
14936
|
+
[AWS S3 200 0.097874] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14937
|
+
|
14938
|
+
[AWS S3 200 0.124212] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
14939
|
+
|
14940
|
+
Rendered inline template (1.6ms)
|
14941
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
14942
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
14943
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14945
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de0eba12eb40f9000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:17:18 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:17:18 UTC, "created_at"=>2012-02-07 08:17:18 UTC}])
|
14946
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0eba12eb40f9000002')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de0eba12eb40f9000002\"}}"}}})
|
14947
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
14948
|
+
Rendered inline template (1.5ms)
|
14949
|
+
Rendered inline template (1.3ms)
|
14950
|
+
|
14951
|
+
Sent mail to trcarden@gmail.com (1326ms)
|
14952
|
+
Date: Tue, 07 Feb 2012 00:17:18 -0800
|
14953
|
+
From: test@test.com
|
14954
|
+
Reply-To: testGuy
|
14955
|
+
To: trcarden@gmail.com
|
14956
|
+
Message-ID: <4f30de0e6d4d4_40f980434f4c19495@toms-iphone-4.mail>
|
14957
|
+
Subject: test subject
|
14958
|
+
Mime-Version: 1.0
|
14959
|
+
Content-Type: multipart/alternative;
|
14960
|
+
boundary="--==_mimepart_4f30de0e4f2d3_40f980434f4c191ce";
|
14961
|
+
charset=UTF-8
|
14962
|
+
Content-Transfer-Encoding: 7bit
|
14963
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30de0eba12eb40f9000002"}}
|
14964
|
+
|
14965
|
+
|
14966
|
+
|
14967
|
+
----==_mimepart_4f30de0e4f2d3_40f980434f4c191ce
|
14968
|
+
Date: Tue, 07 Feb 2012 00:17:18 -0800
|
14969
|
+
Mime-Version: 1.0
|
14970
|
+
Content-Type: text/plain;
|
14971
|
+
charset=UTF-8
|
14972
|
+
Content-Transfer-Encoding: 7bit
|
14973
|
+
Content-ID: <4f30de0e5fc3e_40f980434f4c19221@toms-iphone-4.mail>
|
14974
|
+
|
14975
|
+
You should be able to click on the link and have the server record the even
|
14976
|
+
and forward you to the correct place.
|
14977
|
+
|
14978
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30de0eba12eb40f9000002&n=1&url=www.google.com">My home</a>
|
14979
|
+
---------------------------
|
14980
|
+
|
14981
|
+
You should be able to show images in the email client and have the server
|
14982
|
+
track the open
|
14983
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30de0eba12eb40f9000002' style='display:none' width='1' height='1' border='0' />)
|
14984
|
+
|
14985
|
+
|
14986
|
+
|
14987
|
+
|
14988
|
+
----==_mimepart_4f30de0e4f2d3_40f980434f4c191ce
|
14989
|
+
Date: Tue, 07 Feb 2012 00:17:18 -0800
|
14990
|
+
Mime-Version: 1.0
|
14991
|
+
Content-Type: text/html;
|
14992
|
+
charset=UTF-8
|
14993
|
+
Content-Transfer-Encoding: 7bit
|
14994
|
+
Content-ID: <4f30de0e6844f_40f980434f4c19330@toms-iphone-4.mail>
|
14995
|
+
|
14996
|
+
<p>
|
14997
|
+
You should be able to click on the link and have the server record the even
|
14998
|
+
and forward you to the correct place.
|
14999
|
+
|
15000
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30de0eba12eb40f9000002&n=1&url=www.google.com">My home</a>
|
15001
|
+
</p>
|
15002
|
+
|
15003
|
+
<br>
|
15004
|
+
|
15005
|
+
<p>
|
15006
|
+
You should be able to show images in the email client and have the server
|
15007
|
+
track the open
|
15008
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30de0eba12eb40f9000002' style='display:none' width='1' height='1' border='0' />)
|
15009
|
+
</p>
|
15010
|
+
|
15011
|
+
|
15012
|
+
|
15013
|
+
----==_mimepart_4f30de0e4f2d3_40f980434f4c191ce--
|
15014
|
+
|
15015
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15016
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15017
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15018
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15019
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15020
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15021
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15022
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15023
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
15024
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15025
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15026
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15027
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15028
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de0fba12eb40f9000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-02-07 08:17:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"test campaign", "utm_term"=>"test stream", "utm_content"=>"test component", "updated_at"=>2012-02-07 08:17:19 UTC, "created_at"=>2012-02-07 08:17:19 UTC}])
|
15029
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0fba12eb40f9000003')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de0fba12eb40f9000003\"}}"}}})
|
15030
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15031
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15032
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15034
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15035
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15036
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15037
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15038
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15039
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15040
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15041
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15042
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15043
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15044
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15045
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15046
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15047
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15048
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15050
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15051
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15052
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15053
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15054
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15055
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15056
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15057
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15058
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15059
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15060
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de0fba12eb40f9000004'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:17:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:17:19 UTC, "created_at"=>2012-02-07 08:17:19 UTC}])
|
15061
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0fba12eb40f9000004')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de0fba12eb40f9000004\"}}"}}})
|
15062
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15063
|
+
Processing by MailSpy::TrackingController#action as HTML
|
15064
|
+
Parameters: {"eid"=>"4f30de0fba12eb40f9000004", "action_type"=>"Conversion", "count"=>"3"}
|
15065
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de0fba12eb40f9000004')}).limit(-1).sort([[:_id, :asc]])
|
15066
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0fba12eb40f9000004')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30de0fba12eb40f9000005'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:17:19 UTC, "created_at"=>2012-02-07 08:17:19 UTC}}})
|
15067
|
+
Completed 200 OK in 63ms (ActiveRecord: 0.0ms)
|
15068
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de0fba12eb40f9000004')}).limit(-1)
|
15069
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15070
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15071
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15072
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15073
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15074
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15075
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de0fba12eb40f9000006'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:17:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:17:19 UTC, "created_at"=>2012-02-07 08:17:19 UTC}])
|
15076
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0fba12eb40f9000006')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de0fba12eb40f9000006\"}}"}}})
|
15077
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15078
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
15079
|
+
Parameters: {"eid"=>"4f30de0fba12eb40f9000006"}
|
15080
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de0fba12eb40f9000006')}).limit(-1).sort([[:_id, :asc]])
|
15081
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0fba12eb40f9000006')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30de0fba12eb40f9000007'), "action_type"=>"open", "updated_at"=>2012-02-07 08:17:19 UTC, "created_at"=>2012-02-07 08:17:19 UTC}}})
|
15082
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
15083
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de0fba12eb40f9000006')}).limit(-1)
|
15084
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15085
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15086
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15087
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15088
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15089
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15090
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de0fba12eb40f9000008'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:17:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:17:19 UTC, "created_at"=>2012-02-07 08:17:19 UTC}])
|
15091
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0fba12eb40f9000008')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de0fba12eb40f9000008\"}}"}}})
|
15092
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15093
|
+
Processing by MailSpy::TrackingController#link as HTML
|
15094
|
+
Parameters: {"eid"=>"4f30de0fba12eb40f9000008", "url"=>"http://google.com", "n"=>"0"}
|
15095
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de0fba12eb40f9000008')}).limit(-1).sort([[:_id, :asc]])
|
15096
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0fba12eb40f9000008')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30de0fba12eb40f9000009'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:17:19 UTC, "created_at"=>2012-02-07 08:17:19 UTC}}})
|
15097
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
15098
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
15099
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15100
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de0fba12eb40f9000008')}).limit(-1)
|
15101
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15102
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15103
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15105
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15106
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15107
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de0fba12eb40f900000a'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:17:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:17:19 UTC, "created_at"=>2012-02-07 08:17:19 UTC}])
|
15108
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de0fba12eb40f900000a')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de0fba12eb40f900000a\"}}"}}})
|
15109
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15110
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15111
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15112
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15114
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15115
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
15116
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
15117
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
15118
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
15119
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
15120
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
15121
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de93ba12eb4106000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:19:31 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:19:31 UTC, "created_at"=>2012-02-07 08:19:31 UTC}])
|
15122
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de93ba12eb4106000001')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de93ba12eb4106000001\"}}"}}})
|
15123
|
+
[AWS S3 200 0.761817] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
15124
|
+
|
15125
|
+
[AWS S3 200 0.094902] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
15126
|
+
|
15127
|
+
[AWS S3 200 0.115954] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
15128
|
+
|
15129
|
+
Rendered inline template (23.8ms)
|
15130
|
+
[AWS S3 200 0.139082] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
15131
|
+
|
15132
|
+
[AWS S3 200 0.094036] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
15133
|
+
|
15134
|
+
[AWS S3 200 0.125159] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
15135
|
+
|
15136
|
+
Rendered inline template (1.6ms)
|
15137
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15138
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15139
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15140
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15141
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de97ba12eb4106000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:19:35 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:19:35 UTC, "created_at"=>2012-02-07 08:19:35 UTC}])
|
15142
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de97ba12eb4106000002')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de97ba12eb4106000002\"}}"}}})
|
15143
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15144
|
+
Rendered inline template (1.5ms)
|
15145
|
+
Rendered inline template (1.2ms)
|
15146
|
+
|
15147
|
+
Sent mail to trcarden@gmail.com (1355ms)
|
15148
|
+
Date: Tue, 07 Feb 2012 00:19:35 -0800
|
15149
|
+
From: test@test.com
|
15150
|
+
Reply-To: testGuy
|
15151
|
+
To: trcarden@gmail.com
|
15152
|
+
Message-ID: <4f30de972cf20_410680434f4c4188d@toms-iphone-4.mail>
|
15153
|
+
Subject: test subject
|
15154
|
+
Mime-Version: 1.0
|
15155
|
+
Content-Type: multipart/alternative;
|
15156
|
+
boundary="--==_mimepart_4f30de97fb4d_410680434f4c415df";
|
15157
|
+
charset=UTF-8
|
15158
|
+
Content-Transfer-Encoding: 7bit
|
15159
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30de97ba12eb4106000002"}}
|
15160
|
+
|
15161
|
+
|
15162
|
+
|
15163
|
+
----==_mimepart_4f30de97fb4d_410680434f4c415df
|
15164
|
+
Date: Tue, 07 Feb 2012 00:19:35 -0800
|
15165
|
+
Mime-Version: 1.0
|
15166
|
+
Content-Type: text/plain;
|
15167
|
+
charset=UTF-8
|
15168
|
+
Content-Transfer-Encoding: 7bit
|
15169
|
+
Content-ID: <4f30de971f740_410680434f4c4166d@toms-iphone-4.mail>
|
15170
|
+
|
15171
|
+
You should be able to click on the link and have the server record the even
|
15172
|
+
and forward you to the correct place.
|
15173
|
+
|
15174
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30de97ba12eb4106000002&n=1&url=www.google.com">My home</a>
|
15175
|
+
---------------------------
|
15176
|
+
|
15177
|
+
You should be able to show images in the email client and have the server
|
15178
|
+
track the open
|
15179
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30de97ba12eb4106000002' style='display:none' width='1' height='1' border='0' />)
|
15180
|
+
|
15181
|
+
|
15182
|
+
|
15183
|
+
|
15184
|
+
----==_mimepart_4f30de97fb4d_410680434f4c415df
|
15185
|
+
Date: Tue, 07 Feb 2012 00:19:35 -0800
|
15186
|
+
Mime-Version: 1.0
|
15187
|
+
Content-Type: text/html;
|
15188
|
+
charset=UTF-8
|
15189
|
+
Content-Transfer-Encoding: 7bit
|
15190
|
+
Content-ID: <4f30de972801f_410680434f4c4175f@toms-iphone-4.mail>
|
15191
|
+
|
15192
|
+
<p>
|
15193
|
+
You should be able to click on the link and have the server record the even
|
15194
|
+
and forward you to the correct place.
|
15195
|
+
|
15196
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30de97ba12eb4106000002&n=1&url=www.google.com">My home</a>
|
15197
|
+
</p>
|
15198
|
+
|
15199
|
+
<br>
|
15200
|
+
|
15201
|
+
<p>
|
15202
|
+
You should be able to show images in the email client and have the server
|
15203
|
+
track the open
|
15204
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30de97ba12eb4106000002' style='display:none' width='1' height='1' border='0' />)
|
15205
|
+
</p>
|
15206
|
+
|
15207
|
+
|
15208
|
+
|
15209
|
+
----==_mimepart_4f30de97fb4d_410680434f4c415df--
|
15210
|
+
|
15211
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15212
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15213
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15214
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15215
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15216
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15217
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15219
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
15220
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15221
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15222
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15223
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15224
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de98ba12eb4106000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"test campaign", "stream"=>"test stream", "component"=>"test component", "schedule_at"=>2012-02-07 08:19:36 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"test campaign", "utm_term"=>"test stream", "utm_content"=>"test component", "updated_at"=>2012-02-07 08:19:36 UTC, "created_at"=>2012-02-07 08:19:36 UTC}])
|
15225
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de98ba12eb4106000003')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de98ba12eb4106000003\"}}"}}})
|
15226
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15227
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15229
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15230
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15231
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15232
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15233
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15234
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15235
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15236
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15238
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15239
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15240
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15241
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15242
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15243
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15244
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15246
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15247
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15248
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15249
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15250
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de98ba12eb4106000004'), "to"=>"test@test.com", "subject"=>"test subject", "from"=>"test@test.com", "reply_to"=>"testGuy", "campaign"=>"NO SUCH CAMPAIGN", "stream"=>"NO SUCH STREAM", "component"=>"NO SUCH COMPONENT", "schedule_at"=>2012-02-07 08:19:36 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"NO SUCH CAMPAIGN", "utm_term"=>"NO SUCH STREAM", "utm_content"=>"NO SUCH COMPONENT", "updated_at"=>2012-02-07 08:19:36 UTC, "created_at"=>2012-02-07 08:19:36 UTC}])
|
15251
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de98ba12eb4106000004')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de98ba12eb4106000004\"}}"}}})
|
15252
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15253
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15254
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15255
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15256
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15257
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15258
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15259
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15260
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de98ba12eb4106000005'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:19:36 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:19:36 UTC, "created_at"=>2012-02-07 08:19:36 UTC}])
|
15261
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de98ba12eb4106000005')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de98ba12eb4106000005\"}}"}}})
|
15262
|
+
MONGODB dummy_test['mail_spy_process_logs'].find({:running=>true}).limit(-1).sort([[:_id, :asc]])
|
15263
|
+
MONGODB dummy_test['mail_spy_process_logs'].insert([{"success"=>false, "running"=>true, "_id"=>BSON::ObjectId('4f30de98ba12eb4106000006'), "start"=>2012-02-07 08:19:36 UTC, "updated_at"=>2012-02-07 08:19:36 UTC, "created_at"=>2012-02-07 08:19:36 UTC}])
|
15264
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-02-07 08:19:36 UTC}, :sent=>false, :failed=>false}).limit(100).sort([[:_id, :asc]])
|
15265
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-02-07 08:19:36 UTC}, :sent=>false, :failed=>false}).limit(100).sort([[:_id, :asc]])
|
15266
|
+
Rendered inline template (1.5ms)
|
15267
|
+
Rendered inline template (1.3ms)
|
15268
|
+
|
15269
|
+
Sent mail to trcarden@gmail.com (873ms)
|
15270
|
+
Date: Tue, 07 Feb 2012 00:19:36 -0800
|
15271
|
+
From: test@test.com
|
15272
|
+
Reply-To: testGuy
|
15273
|
+
To: trcarden@gmail.com
|
15274
|
+
Message-ID: <4f30de987df7d_4106809a1ea842286@toms-iphone-4.mail>
|
15275
|
+
Subject: test subject
|
15276
|
+
Mime-Version: 1.0
|
15277
|
+
Content-Type: multipart/alternative;
|
15278
|
+
boundary="--==_mimepart_4f30de987955d_4106809a1ea8419c4";
|
15279
|
+
charset=UTF-8
|
15280
|
+
Content-Transfer-Encoding: 7bit
|
15281
|
+
X-SMTPAPI: {"unique_args": {"eid": "4f30de98ba12eb4106000005"}}
|
15282
|
+
|
15283
|
+
|
15284
|
+
|
15285
|
+
----==_mimepart_4f30de987955d_4106809a1ea8419c4
|
15286
|
+
Date: Tue, 07 Feb 2012 00:19:36 -0800
|
15287
|
+
Mime-Version: 1.0
|
15288
|
+
Content-Type: text/plain;
|
15289
|
+
charset=UTF-8
|
15290
|
+
Content-Transfer-Encoding: 7bit
|
15291
|
+
Content-ID: <4f30de987c398_4106809a1ea8420bf@toms-iphone-4.mail>
|
15292
|
+
|
15293
|
+
You should be able to click on the link and have the server record the even
|
15294
|
+
and forward you to the correct place.
|
15295
|
+
|
15296
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30de98ba12eb4106000005&n=1&url=www.google.com">My home</a>
|
15297
|
+
---------------------------
|
15298
|
+
|
15299
|
+
You should be able to show images in the email client and have the server
|
15300
|
+
track the open
|
15301
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30de98ba12eb4106000005' style='display:none' width='1' height='1' border='0' />)
|
15302
|
+
|
15303
|
+
|
15304
|
+
|
15305
|
+
|
15306
|
+
----==_mimepart_4f30de987955d_4106809a1ea8419c4
|
15307
|
+
Date: Tue, 07 Feb 2012 00:19:36 -0800
|
15308
|
+
Mime-Version: 1.0
|
15309
|
+
Content-Type: text/html;
|
15310
|
+
charset=UTF-8
|
15311
|
+
Content-Transfer-Encoding: 7bit
|
15312
|
+
Content-ID: <4f30de987d3f7_4106809a1ea842154@toms-iphone-4.mail>
|
15313
|
+
|
15314
|
+
<p>
|
15315
|
+
You should be able to click on the link and have the server record the even
|
15316
|
+
and forward you to the correct place.
|
15317
|
+
|
15318
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30de98ba12eb4106000005&n=1&url=www.google.com">My home</a>
|
15319
|
+
</p>
|
15320
|
+
|
15321
|
+
<br>
|
15322
|
+
|
15323
|
+
<p>
|
15324
|
+
You should be able to show images in the email client and have the server
|
15325
|
+
track the open
|
15326
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30de98ba12eb4106000005' style='display:none' width='1' height='1' border='0' />)
|
15327
|
+
</p>
|
15328
|
+
|
15329
|
+
|
15330
|
+
|
15331
|
+
----==_mimepart_4f30de987955d_4106809a1ea8419c4--
|
15332
|
+
|
15333
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de98ba12eb4106000005')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-02-07 08:19:37 UTC}})
|
15334
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-02-07 08:19:36 UTC}, :sent=>false, :failed=>false}).skip(100).limit(100).sort([[:_id, :asc]])
|
15335
|
+
MONGODB dummy_test['mail_spy_process_logs'].update({"_id"=>BSON::ObjectId('4f30de98ba12eb4106000006')}, {"$set"=>{"end"=>2012-02-07 08:19:37 UTC, "seconds_elapsed"=>1, "running"=>false, "success"=>true, "updated_at"=>2012-02-07 08:19:37 UTC}})
|
15336
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15337
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15338
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15340
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15341
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15342
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15343
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15344
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15345
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15346
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15347
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15348
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15349
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15350
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de99ba12eb4106000007'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:19:37 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:19:37 UTC, "created_at"=>2012-02-07 08:19:37 UTC}])
|
15351
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de99ba12eb4106000007')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de99ba12eb4106000007\"}}"}}})
|
15352
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15353
|
+
Processing by MailSpy::TrackingController#action as HTML
|
15354
|
+
Parameters: {"eid"=>"4f30de99ba12eb4106000007", "action_type"=>"Conversion", "count"=>"3"}
|
15355
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de99ba12eb4106000007')}).limit(-1).sort([[:_id, :asc]])
|
15356
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de99ba12eb4106000007')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30de99ba12eb4106000008'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:19:37 UTC, "created_at"=>2012-02-07 08:19:37 UTC}}})
|
15357
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
|
15358
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de99ba12eb4106000007')}).limit(-1)
|
15359
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15360
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15361
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15363
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15364
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15365
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de99ba12eb4106000009'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:19:37 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:19:37 UTC, "created_at"=>2012-02-07 08:19:37 UTC}])
|
15366
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de99ba12eb4106000009')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de99ba12eb4106000009\"}}"}}})
|
15367
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15368
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
15369
|
+
Parameters: {"eid"=>"4f30de99ba12eb4106000009"}
|
15370
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de99ba12eb4106000009')}).limit(-1).sort([[:_id, :asc]])
|
15371
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de99ba12eb4106000009')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30de99ba12eb410600000a'), "action_type"=>"open", "updated_at"=>2012-02-07 08:19:37 UTC, "created_at"=>2012-02-07 08:19:37 UTC}}})
|
15372
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
15373
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de99ba12eb4106000009')}).limit(-1)
|
15374
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15375
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15376
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15377
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15378
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15379
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15380
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de99ba12eb410600000b'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:19:37 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:19:37 UTC, "created_at"=>2012-02-07 08:19:37 UTC}])
|
15381
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de99ba12eb410600000b')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de99ba12eb410600000b\"}}"}}})
|
15382
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15383
|
+
Processing by MailSpy::TrackingController#link as HTML
|
15384
|
+
Parameters: {"eid"=>"4f30de99ba12eb410600000b", "url"=>"http://google.com", "n"=>"0"}
|
15385
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de99ba12eb410600000b')}).limit(-1).sort([[:_id, :asc]])
|
15386
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de99ba12eb410600000b')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30de99ba12eb410600000c'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:19:37 UTC, "created_at"=>2012-02-07 08:19:37 UTC}}})
|
15387
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
15388
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
15389
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15390
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30de99ba12eb410600000b')}).limit(-1)
|
15391
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15392
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15393
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15394
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15395
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15396
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15397
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30de99ba12eb410600000d'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:19:37 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:19:37 UTC, "created_at"=>2012-02-07 08:19:37 UTC}])
|
15398
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30de99ba12eb410600000d')}, {"$set"=>{"headers"=>{"X-SMTPAPI"=>"{\"unique_args\": {\"eid\": \"4f30de99ba12eb410600000d\"}}"}}})
|
15399
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15400
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15401
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15402
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15404
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15405
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
15406
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
15407
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
15408
|
+
[AWS S3 200 0.446725] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
15409
|
+
|
15410
|
+
[AWS S3 200 0.111961] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
15411
|
+
|
15412
|
+
[AWS S3 200 0.116957] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
15413
|
+
|
15414
|
+
[AWS S3 200 0.089609] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
15415
|
+
|
15416
|
+
[AWS S3 200 0.096207] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
15417
|
+
|
15418
|
+
[AWS S3 200 0.120282] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
15419
|
+
|
15420
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
15421
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dfebba12eb411a000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:25:15 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:25:17 UTC, "created_at"=>2012-02-07 08:25:17 UTC}])
|
15422
|
+
Rendered inline template (23.6ms)
|
15423
|
+
Rendered inline template (1.3ms)
|
15424
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15425
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15426
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15427
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15428
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dfefba12eb411a000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:25:19 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:25:19 UTC, "created_at"=>2012-02-07 08:25:19 UTC}])
|
15429
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15430
|
+
Rendered inline template (1.5ms)
|
15431
|
+
Rendered inline template (1.3ms)
|
15432
|
+
|
15433
|
+
Sent mail to trcarden@gmail.com (959ms)
|
15434
|
+
Date: Tue, 07 Feb 2012 00:25:19 -0800
|
15435
|
+
From: test@test.com
|
15436
|
+
Reply-To: testGuy
|
15437
|
+
To: trcarden@gmail.com
|
15438
|
+
Message-ID: <4f30dfef36775_411a80434f4c303c5@toms-iphone-4.mail>
|
15439
|
+
Subject: test subject
|
15440
|
+
Mime-Version: 1.0
|
15441
|
+
Content-Type: multipart/alternative;
|
15442
|
+
boundary="--==_mimepart_4f30dfef18c57_411a80434f4c300fd";
|
15443
|
+
charset=UTF-8
|
15444
|
+
Content-Transfer-Encoding: 7bit
|
15445
|
+
|
15446
|
+
|
15447
|
+
|
15448
|
+
----==_mimepart_4f30dfef18c57_411a80434f4c300fd
|
15449
|
+
Date: Tue, 07 Feb 2012 00:25:19 -0800
|
15450
|
+
Mime-Version: 1.0
|
15451
|
+
Content-Type: text/plain;
|
15452
|
+
charset=UTF-8
|
15453
|
+
Content-Transfer-Encoding: 7bit
|
15454
|
+
Content-ID: <4f30dfef289e3_411a80434f4c30199@toms-iphone-4.mail>
|
15455
|
+
|
15456
|
+
You should be able to click on the link and have the server record the even
|
15457
|
+
and forward you to the correct place.
|
15458
|
+
|
15459
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dfefba12eb411a000002&n=1&url=www.google.com">My home</a>
|
15460
|
+
---------------------------
|
15461
|
+
|
15462
|
+
You should be able to show images in the email client and have the server
|
15463
|
+
track the open
|
15464
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dfefba12eb411a000002' style='display:none' width='1' height='1' border='0' />)
|
15465
|
+
|
15466
|
+
|
15467
|
+
|
15468
|
+
|
15469
|
+
----==_mimepart_4f30dfef18c57_411a80434f4c300fd
|
15470
|
+
Date: Tue, 07 Feb 2012 00:25:19 -0800
|
15471
|
+
Mime-Version: 1.0
|
15472
|
+
Content-Type: text/html;
|
15473
|
+
charset=UTF-8
|
15474
|
+
Content-Transfer-Encoding: 7bit
|
15475
|
+
Content-ID: <4f30dfef31483_411a80434f4c30255@toms-iphone-4.mail>
|
15476
|
+
|
15477
|
+
<p>
|
15478
|
+
You should be able to click on the link and have the server record the even
|
15479
|
+
and forward you to the correct place.
|
15480
|
+
|
15481
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dfefba12eb411a000002&n=1&url=www.google.com">My home</a>
|
15482
|
+
</p>
|
15483
|
+
|
15484
|
+
<br>
|
15485
|
+
|
15486
|
+
<p>
|
15487
|
+
You should be able to show images in the email client and have the server
|
15488
|
+
track the open
|
15489
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dfefba12eb411a000002' style='display:none' width='1' height='1' border='0' />)
|
15490
|
+
</p>
|
15491
|
+
|
15492
|
+
|
15493
|
+
|
15494
|
+
----==_mimepart_4f30dfef18c57_411a80434f4c300fd--
|
15495
|
+
|
15496
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15497
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15498
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15499
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15500
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15501
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15502
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15503
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15504
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
15505
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15506
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15507
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15508
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15509
|
+
[AWS S3 200 0.094840] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
15510
|
+
|
15511
|
+
[AWS S3 404 0.116301] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"test campaign/test stream/test component.html.erb") AWS::S3::Errors::NoSuchKey: No Such Key
|
15512
|
+
|
15513
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15514
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15515
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15516
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15517
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15518
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15519
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15520
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15521
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15522
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15523
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15524
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15525
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15526
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15527
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15528
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15529
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15530
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15531
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15532
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15533
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15534
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15535
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15536
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15537
|
+
[AWS S3 200 0.087939] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
15538
|
+
|
15539
|
+
[AWS S3 404 0.111553] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"NO SUCH CAMPAIGN/NO SUCH STREAM/NO SUCH COMPONENT.html.erb") AWS::S3::Errors::NoSuchKey: No Such Key
|
15540
|
+
|
15541
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15542
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15543
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15544
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15545
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15546
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15547
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15548
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15549
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dff0ba12eb411a000005'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:25:20 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:25:20 UTC, "created_at"=>2012-02-07 08:25:20 UTC}])
|
15550
|
+
MONGODB dummy_test['mail_spy_process_logs'].find({:running=>true}).limit(-1).sort([[:_id, :asc]])
|
15551
|
+
MONGODB dummy_test['mail_spy_process_logs'].insert([{"success"=>false, "running"=>true, "_id"=>BSON::ObjectId('4f30dff0ba12eb411a000006'), "start"=>2012-02-07 08:25:20 UTC, "updated_at"=>2012-02-07 08:25:20 UTC, "created_at"=>2012-02-07 08:25:20 UTC}])
|
15552
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-02-07 08:25:20 UTC}, :sent=>false, :failed=>false}).limit(100).sort([[:_id, :asc]])
|
15553
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-02-07 08:25:20 UTC}, :sent=>false, :failed=>false}).limit(100).sort([[:_id, :asc]])
|
15554
|
+
Rendered inline template (1.6ms)
|
15555
|
+
Rendered inline template (1.2ms)
|
15556
|
+
|
15557
|
+
Sent mail to trcarden@gmail.com (1187ms)
|
15558
|
+
Date: Tue, 07 Feb 2012 00:25:20 -0800
|
15559
|
+
From: test@test.com
|
15560
|
+
Reply-To: testGuy
|
15561
|
+
To: trcarden@gmail.com
|
15562
|
+
Message-ID: <4f30dff0961c4_411a844ff32430759@toms-iphone-4.mail>
|
15563
|
+
Subject: test subject
|
15564
|
+
Mime-Version: 1.0
|
15565
|
+
Content-Type: multipart/alternative;
|
15566
|
+
boundary="--==_mimepart_4f30dff091a6d_411a844ff324304bc";
|
15567
|
+
charset=UTF-8
|
15568
|
+
Content-Transfer-Encoding: 7bit
|
15569
|
+
|
15570
|
+
|
15571
|
+
|
15572
|
+
----==_mimepart_4f30dff091a6d_411a844ff324304bc
|
15573
|
+
Date: Tue, 07 Feb 2012 00:25:20 -0800
|
15574
|
+
Mime-Version: 1.0
|
15575
|
+
Content-Type: text/plain;
|
15576
|
+
charset=UTF-8
|
15577
|
+
Content-Transfer-Encoding: 7bit
|
15578
|
+
Content-ID: <4f30dff0945d7_411a844ff3243056@toms-iphone-4.mail>
|
15579
|
+
|
15580
|
+
You should be able to click on the link and have the server record the even
|
15581
|
+
and forward you to the correct place.
|
15582
|
+
|
15583
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dff0ba12eb411a000005&n=1&url=www.google.com">My home</a>
|
15584
|
+
---------------------------
|
15585
|
+
|
15586
|
+
You should be able to show images in the email client and have the server
|
15587
|
+
track the open
|
15588
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dff0ba12eb411a000005' style='display:none' width='1' height='1' border='0' />)
|
15589
|
+
|
15590
|
+
|
15591
|
+
|
15592
|
+
|
15593
|
+
----==_mimepart_4f30dff091a6d_411a844ff324304bc
|
15594
|
+
Date: Tue, 07 Feb 2012 00:25:20 -0800
|
15595
|
+
Mime-Version: 1.0
|
15596
|
+
Content-Type: text/html;
|
15597
|
+
charset=UTF-8
|
15598
|
+
Content-Transfer-Encoding: 7bit
|
15599
|
+
Content-ID: <4f30dff09565b_411a844ff324306aa@toms-iphone-4.mail>
|
15600
|
+
|
15601
|
+
<p>
|
15602
|
+
You should be able to click on the link and have the server record the even
|
15603
|
+
and forward you to the correct place.
|
15604
|
+
|
15605
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30dff0ba12eb411a000005&n=1&url=www.google.com">My home</a>
|
15606
|
+
</p>
|
15607
|
+
|
15608
|
+
<br>
|
15609
|
+
|
15610
|
+
<p>
|
15611
|
+
You should be able to show images in the email client and have the server
|
15612
|
+
track the open
|
15613
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30dff0ba12eb411a000005' style='display:none' width='1' height='1' border='0' />)
|
15614
|
+
</p>
|
15615
|
+
|
15616
|
+
|
15617
|
+
|
15618
|
+
----==_mimepart_4f30dff091a6d_411a844ff324304bc--
|
15619
|
+
|
15620
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dff0ba12eb411a000005')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-02-07 08:25:21 UTC}})
|
15621
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-02-07 08:25:20 UTC}, :sent=>false, :failed=>false}).skip(100).limit(100).sort([[:_id, :asc]])
|
15622
|
+
MONGODB dummy_test['mail_spy_process_logs'].update({"_id"=>BSON::ObjectId('4f30dff0ba12eb411a000006')}, {"$set"=>{"end"=>2012-02-07 08:25:21 UTC, "seconds_elapsed"=>1, "running"=>false, "success"=>true, "updated_at"=>2012-02-07 08:25:21 UTC}})
|
15623
|
+
MONGODB dummy_test['mail_spy_process_logs'].find({}).limit(-1).sort([[:_id, :asc]])
|
15624
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15625
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15626
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15627
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15628
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15629
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15630
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15631
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15632
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15633
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15634
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15635
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15636
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15637
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15638
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dff1ba12eb411a000007'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:25:21 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:25:21 UTC, "created_at"=>2012-02-07 08:25:21 UTC}])
|
15639
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15640
|
+
Processing by MailSpy::TrackingController#action as HTML
|
15641
|
+
Parameters: {"eid"=>"4f30dff1ba12eb411a000007", "action_type"=>"Conversion", "count"=>"3"}
|
15642
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dff1ba12eb411a000007')}).limit(-1).sort([[:_id, :asc]])
|
15643
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dff1ba12eb411a000007')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30dff1ba12eb411a000008'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:25:21 UTC, "created_at"=>2012-02-07 08:25:21 UTC}}})
|
15644
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
|
15645
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dff1ba12eb411a000007')}).limit(-1)
|
15646
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15647
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15648
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15649
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15650
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15651
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15652
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dff1ba12eb411a000009'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:25:21 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:25:21 UTC, "created_at"=>2012-02-07 08:25:21 UTC}])
|
15653
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15654
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
15655
|
+
Parameters: {"eid"=>"4f30dff1ba12eb411a000009"}
|
15656
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dff1ba12eb411a000009')}).limit(-1).sort([[:_id, :asc]])
|
15657
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dff1ba12eb411a000009')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dff1ba12eb411a00000a'), "action_type"=>"open", "updated_at"=>2012-02-07 08:25:21 UTC, "created_at"=>2012-02-07 08:25:21 UTC}}})
|
15658
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
15659
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dff1ba12eb411a000009')}).limit(-1)
|
15660
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15661
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15662
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15663
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15664
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15665
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15666
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dff1ba12eb411a00000b'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:25:21 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:25:21 UTC, "created_at"=>2012-02-07 08:25:21 UTC}])
|
15667
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15668
|
+
Processing by MailSpy::TrackingController#link as HTML
|
15669
|
+
Parameters: {"eid"=>"4f30dff1ba12eb411a00000b", "url"=>"http://google.com", "n"=>"0"}
|
15670
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dff1ba12eb411a00000b')}).limit(-1).sort([[:_id, :asc]])
|
15671
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30dff1ba12eb411a00000b')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30dff1ba12eb411a00000c'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:25:21 UTC, "created_at"=>2012-02-07 08:25:21 UTC}}})
|
15672
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
15673
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
15674
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15675
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30dff1ba12eb411a00000b')}).limit(-1)
|
15676
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15677
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15678
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15679
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15680
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15681
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15682
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30dff1ba12eb411a00000d'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:25:21 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:25:21 UTC, "created_at"=>2012-02-07 08:25:21 UTC}])
|
15683
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15684
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15685
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15686
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15687
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15688
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15689
|
+
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
|
15690
|
+
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
15691
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
15692
|
+
[AWS S3 200 0.482845] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
15693
|
+
|
15694
|
+
[AWS S3 200 0.100535] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
15695
|
+
|
15696
|
+
[AWS S3 200 0.123772] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.html.erb")
|
15697
|
+
|
15698
|
+
[AWS S3 200 0.098842] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
15699
|
+
|
15700
|
+
[AWS S3 200 0.103666] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
15701
|
+
|
15702
|
+
[AWS S3 200 0.127619] get_object(:bucket_name=>"daviacalendar-mailspy",:key=>"tests/a-stream/a-helper_test.text.erb")
|
15703
|
+
|
15704
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
15705
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30e082ba12eb4126000001'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:27:45 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:27:48 UTC, "created_at"=>2012-02-07 08:27:48 UTC}])
|
15706
|
+
Rendered inline template (23.6ms)
|
15707
|
+
Rendered inline template (1.3ms)
|
15708
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15709
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15710
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15711
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15712
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30e085ba12eb4126000002'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:27:49 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:27:49 UTC, "created_at"=>2012-02-07 08:27:49 UTC}])
|
15713
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15714
|
+
Rendered inline template (1.5ms)
|
15715
|
+
Rendered inline template (1.2ms)
|
15716
|
+
|
15717
|
+
Sent mail to trcarden@gmail.com (1678ms)
|
15718
|
+
Date: Tue, 07 Feb 2012 00:27:49 -0800
|
15719
|
+
From: test@test.com
|
15720
|
+
Reply-To: testGuy
|
15721
|
+
To: trcarden@gmail.com
|
15722
|
+
Message-ID: <4f30e085970a7_412680434f4c63774@toms-iphone-4.mail>
|
15723
|
+
Subject: test subject
|
15724
|
+
Mime-Version: 1.0
|
15725
|
+
Content-Type: multipart/alternative;
|
15726
|
+
boundary="--==_mimepart_4f30e0857888c_412680434f4c63466";
|
15727
|
+
charset=UTF-8
|
15728
|
+
Content-Transfer-Encoding: 7bit
|
15729
|
+
|
15730
|
+
|
15731
|
+
|
15732
|
+
----==_mimepart_4f30e0857888c_412680434f4c63466
|
15733
|
+
Date: Tue, 07 Feb 2012 00:27:49 -0800
|
15734
|
+
Mime-Version: 1.0
|
15735
|
+
Content-Type: text/plain;
|
15736
|
+
charset=UTF-8
|
15737
|
+
Content-Transfer-Encoding: 7bit
|
15738
|
+
Content-ID: <4f30e08588988_412680434f4c63596@toms-iphone-4.mail>
|
15739
|
+
|
15740
|
+
You should be able to click on the link and have the server record the even
|
15741
|
+
and forward you to the correct place.
|
15742
|
+
|
15743
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30e085ba12eb4126000002&n=1&url=www.google.com">My home</a>
|
15744
|
+
---------------------------
|
15745
|
+
|
15746
|
+
You should be able to show images in the email client and have the server
|
15747
|
+
track the open
|
15748
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30e085ba12eb4126000002' style='display:none' width='1' height='1' border='0' />)
|
15749
|
+
|
15750
|
+
|
15751
|
+
|
15752
|
+
|
15753
|
+
----==_mimepart_4f30e0857888c_412680434f4c63466
|
15754
|
+
Date: Tue, 07 Feb 2012 00:27:49 -0800
|
15755
|
+
Mime-Version: 1.0
|
15756
|
+
Content-Type: text/html;
|
15757
|
+
charset=UTF-8
|
15758
|
+
Content-Transfer-Encoding: 7bit
|
15759
|
+
Content-ID: <4f30e08591d84_412680434f4c63695@toms-iphone-4.mail>
|
15760
|
+
|
15761
|
+
<p>
|
15762
|
+
You should be able to click on the link and have the server record the even
|
15763
|
+
and forward you to the correct place.
|
15764
|
+
|
15765
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30e085ba12eb4126000002&n=1&url=www.google.com">My home</a>
|
15766
|
+
</p>
|
15767
|
+
|
15768
|
+
<br>
|
15769
|
+
|
15770
|
+
<p>
|
15771
|
+
You should be able to show images in the email client and have the server
|
15772
|
+
track the open
|
15773
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30e085ba12eb4126000002' style='display:none' width='1' height='1' border='0' />)
|
15774
|
+
</p>
|
15775
|
+
|
15776
|
+
|
15777
|
+
|
15778
|
+
----==_mimepart_4f30e0857888c_412680434f4c63466--
|
15779
|
+
|
15780
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15781
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15782
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15784
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15785
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15786
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15787
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15788
|
+
MONGODB dummy_test['system.namespaces'].find({})
|
15789
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15790
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15791
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15792
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15793
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30e087ba12eb4126000003'), "to"=>"test@test.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:27:51 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:27:51 UTC, "created_at"=>2012-02-07 08:27:51 UTC}])
|
15794
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15795
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15796
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15797
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15798
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15799
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15800
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15801
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15802
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15803
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15804
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15805
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15806
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15807
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15808
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15809
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15810
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15811
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15812
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15813
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15814
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15815
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15816
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15817
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15818
|
+
[AWS S3 200 0.112768] get_bucket_versioning(:bucket_name=>"daviacalendar-mailspy")
|
15819
|
+
|
15820
|
+
[AWS S3 404 0.100776] head_object(:bucket_name=>"daviacalendar-mailspy",:key=>"NO SUCH CAMPAIGN/NO SUCH STREAM/NO SUCH COMPONENT.html.erb") AWS::S3::Errors::NoSuchKey: No Such Key
|
15821
|
+
|
15822
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15823
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15824
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15826
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15827
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15828
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15829
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15830
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30e087ba12eb4126000005'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:27:51 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:27:51 UTC, "created_at"=>2012-02-07 08:27:51 UTC}])
|
15831
|
+
MONGODB dummy_test['mail_spy_process_logs'].find({:running=>true}).limit(-1).sort([[:_id, :asc]])
|
15832
|
+
MONGODB dummy_test['mail_spy_process_logs'].insert([{"success"=>false, "running"=>true, "_id"=>BSON::ObjectId('4f30e087ba12eb4126000006'), "start"=>2012-02-07 08:27:51 UTC, "updated_at"=>2012-02-07 08:27:51 UTC, "created_at"=>2012-02-07 08:27:51 UTC}])
|
15833
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-02-07 08:27:51 UTC}, :sent=>false, :failed=>false}).limit(100).sort([[:_id, :asc]])
|
15834
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-02-07 08:27:51 UTC}, :sent=>false, :failed=>false}).limit(100).sort([[:_id, :asc]])
|
15835
|
+
Rendered inline template (1.7ms)
|
15836
|
+
Rendered inline template (1.3ms)
|
15837
|
+
|
15838
|
+
Sent mail to trcarden@gmail.com (898ms)
|
15839
|
+
Date: Tue, 07 Feb 2012 00:27:51 -0800
|
15840
|
+
From: test@test.com
|
15841
|
+
Reply-To: testGuy
|
15842
|
+
To: trcarden@gmail.com
|
15843
|
+
Message-ID: <4f30e087812e7_4126834133d0641a7@toms-iphone-4.mail>
|
15844
|
+
Subject: test subject
|
15845
|
+
Mime-Version: 1.0
|
15846
|
+
Content-Type: multipart/alternative;
|
15847
|
+
boundary="--==_mimepart_4f30e0877ca21_4126834133d0638a8";
|
15848
|
+
charset=UTF-8
|
15849
|
+
Content-Transfer-Encoding: 7bit
|
15850
|
+
|
15851
|
+
|
15852
|
+
|
15853
|
+
----==_mimepart_4f30e0877ca21_4126834133d0638a8
|
15854
|
+
Date: Tue, 07 Feb 2012 00:27:51 -0800
|
15855
|
+
Mime-Version: 1.0
|
15856
|
+
Content-Type: text/plain;
|
15857
|
+
charset=UTF-8
|
15858
|
+
Content-Transfer-Encoding: 7bit
|
15859
|
+
Content-ID: <4f30e0877f831_4126834133d06392a@toms-iphone-4.mail>
|
15860
|
+
|
15861
|
+
You should be able to click on the link and have the server record the even
|
15862
|
+
and forward you to the correct place.
|
15863
|
+
|
15864
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30e087ba12eb4126000005&n=1&url=www.google.com">My home</a>
|
15865
|
+
---------------------------
|
15866
|
+
|
15867
|
+
You should be able to show images in the email client and have the server
|
15868
|
+
track the open
|
15869
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30e087ba12eb4126000005' style='display:none' width='1' height='1' border='0' />)
|
15870
|
+
|
15871
|
+
|
15872
|
+
|
15873
|
+
|
15874
|
+
----==_mimepart_4f30e0877ca21_4126834133d0638a8
|
15875
|
+
Date: Tue, 07 Feb 2012 00:27:51 -0800
|
15876
|
+
Mime-Version: 1.0
|
15877
|
+
Content-Type: text/html;
|
15878
|
+
charset=UTF-8
|
15879
|
+
Content-Transfer-Encoding: 7bit
|
15880
|
+
Content-ID: <4f30e087807bc_4126834133d064014@toms-iphone-4.mail>
|
15881
|
+
|
15882
|
+
<p>
|
15883
|
+
You should be able to click on the link and have the server record the even
|
15884
|
+
and forward you to the correct place.
|
15885
|
+
|
15886
|
+
A link : <a href="http://localhost:5000/mail/t?eid=4f30e087ba12eb4126000005&n=1&url=www.google.com">My home</a>
|
15887
|
+
</p>
|
15888
|
+
|
15889
|
+
<br>
|
15890
|
+
|
15891
|
+
<p>
|
15892
|
+
You should be able to show images in the email client and have the server
|
15893
|
+
track the open
|
15894
|
+
A Bug is in the parenthesis (<img src='http://localhost:5000/mail/b?eid=4f30e087ba12eb4126000005' style='display:none' width='1' height='1' border='0' />)
|
15895
|
+
</p>
|
15896
|
+
|
15897
|
+
|
15898
|
+
|
15899
|
+
----==_mimepart_4f30e0877ca21_4126834133d0638a8--
|
15900
|
+
|
15901
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30e087ba12eb4126000005')}, {"$set"=>{"sent"=>true, "updated_at"=>2012-02-07 08:27:52 UTC}})
|
15902
|
+
MONGODB dummy_test['mail_spy_emails'].find({:schedule_at=>{"$lte"=>2012-02-07 08:27:51 UTC}, :sent=>false, :failed=>false}).skip(100).limit(100).sort([[:_id, :asc]])
|
15903
|
+
MONGODB dummy_test['mail_spy_process_logs'].update({"_id"=>BSON::ObjectId('4f30e087ba12eb4126000006')}, {"$set"=>{"end"=>2012-02-07 08:27:52 UTC, "seconds_elapsed"=>1, "running"=>false, "success"=>true, "updated_at"=>2012-02-07 08:27:52 UTC}})
|
15904
|
+
MONGODB dummy_test['mail_spy_process_logs'].find({}).limit(-1).sort([[:_id, :asc]])
|
15905
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15906
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15907
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15908
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15909
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15910
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15911
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15912
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15913
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_process_logs", "query"=>{}, "fields"=>nil}).limit(-1)
|
15914
|
+
MONGODB dummy_test['mail_spy_process_logs'].remove({})
|
15915
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15916
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15917
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15918
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15919
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30e088ba12eb4126000007'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:27:52 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:27:52 UTC, "created_at"=>2012-02-07 08:27:52 UTC}])
|
15920
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15921
|
+
Processing by MailSpy::TrackingController#action as HTML
|
15922
|
+
Parameters: {"eid"=>"4f30e088ba12eb4126000007", "action_type"=>"Conversion", "count"=>"3"}
|
15923
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30e088ba12eb4126000007')}).limit(-1).sort([[:_id, :asc]])
|
15924
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30e088ba12eb4126000007')}, {"$push"=>{"actions"=>{"count"=>3, "_id"=>BSON::ObjectId('4f30e088ba12eb4126000008'), "action_type"=>"Conversion", "updated_at"=>2012-02-07 08:27:52 UTC, "created_at"=>2012-02-07 08:27:52 UTC}}})
|
15925
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
|
15926
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30e088ba12eb4126000007')}).limit(-1)
|
15927
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15928
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15929
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15931
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15932
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15933
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30e088ba12eb4126000009'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:27:52 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:27:52 UTC, "created_at"=>2012-02-07 08:27:52 UTC}])
|
15934
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15935
|
+
Processing by MailSpy::TrackingController#bug as HTML
|
15936
|
+
Parameters: {"eid"=>"4f30e088ba12eb4126000009"}
|
15937
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30e088ba12eb4126000009')}).limit(-1).sort([[:_id, :asc]])
|
15938
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30e088ba12eb4126000009')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30e088ba12eb412600000a'), "action_type"=>"open", "updated_at"=>2012-02-07 08:27:52 UTC, "created_at"=>2012-02-07 08:27:52 UTC}}})
|
15939
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.0ms)
|
15940
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30e088ba12eb4126000009')}).limit(-1)
|
15941
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15942
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15943
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15945
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15946
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15947
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30e088ba12eb412600000b'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:27:52 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:27:52 UTC, "created_at"=>2012-02-07 08:27:52 UTC}])
|
15948
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15949
|
+
Processing by MailSpy::TrackingController#link as HTML
|
15950
|
+
Parameters: {"eid"=>"4f30e088ba12eb412600000b", "url"=>"http://google.com", "n"=>"0"}
|
15951
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30e088ba12eb412600000b')}).limit(-1).sort([[:_id, :asc]])
|
15952
|
+
MONGODB dummy_test['mail_spy_emails'].update({"_id"=>BSON::ObjectId('4f30e088ba12eb412600000b')}, {"$push"=>{"actions"=>{"count"=>1, "_id"=>BSON::ObjectId('4f30e088ba12eb412600000c'), "action_type"=>"click", "details"=>{:url=>"http://google.com", :link_number=>"0"}, "updated_at"=>2012-02-07 08:27:52 UTC, "created_at"=>2012-02-07 08:27:52 UTC}}})
|
15953
|
+
Redirected to http://google.com?utm_campaign=tests&utm_content=a-helper_test&utm_medium=email&utm_source=mailspy&utm_term=a-stream
|
15954
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
15955
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15956
|
+
MONGODB dummy_test['mail_spy_emails'].find({:_id=>BSON::ObjectId('4f30e088ba12eb412600000b')}).limit(-1)
|
15957
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15958
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15959
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15960
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15961
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15962
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15963
|
+
MONGODB dummy_test['mail_spy_emails'].insert([{"headers"=>{}, "template_values"=>{}, "sent"=>false, "failed"=>false, "_id"=>BSON::ObjectId('4f30e088ba12eb412600000d'), "to"=>"trcarden@gmail.com", "from"=>"test@test.com", "reply_to"=>"testGuy", "subject"=>"test subject", "campaign"=>"tests", "stream"=>"a-stream", "component"=>"a-helper_test", "schedule_at"=>2012-02-07 08:27:52 UTC, "email_service_provider"=>"sendgrid", "utm_source"=>"mailspy", "utm_medium"=>"email", "utm_campaign"=>"tests", "utm_term"=>"a-stream", "utm_content"=>"a-helper_test", "updated_at"=>2012-02-07 08:27:52 UTC, "created_at"=>2012-02-07 08:27:52 UTC}])
|
15964
|
+
MONGODB dummy_test['mail_spy_emails'].find({}).limit(-1).sort([[:_id, :asc]])
|
15965
|
+
MONGODB dummy_test['$cmd'].find({"count"=>"mail_spy_emails", "query"=>{}, "fields"=>nil}).limit(-1)
|
15966
|
+
MONGODB dummy_test['mail_spy_emails'].remove({})
|
15967
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15969
|
+
[1m[35m (0.0ms)[0m rollback transaction
|