wco_email 0.1.1.130 → 0.1.1.131
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36cb9fb6aa2c0d175b0321936b41b6e605e2c072095e52cad00c2ca167b513b5
|
|
4
|
+
data.tar.gz: f87eaa9899a7629d2f9906578c941e0811b140be2f168f0efc881ad2d3bc4da3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d472d7c400156486f27e9158945967734c49660e3e3b3776ae01250c70c3f4bf38e33145d9d32153fe342f1fff92658af99016edf9593b894abd38af3607bc5b
|
|
7
|
+
data.tar.gz: d9435ae24523a0dac192ced88c7115047e4c2893ea679ea814f221a532bb6e21a31690bbccaaf44207046ed4da364aafbcfa8ea221024c252fa1d58753f1b6bb
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
{
|
|
3
|
+
"message": {
|
|
4
|
+
"id": 1778,
|
|
5
|
+
"direction": "outgoing",
|
|
6
|
+
"message_id": "6a595d99629a1_7dfe84558@245533f3cb05.mail",
|
|
7
|
+
"to": "poxlovi@gmail.com",
|
|
8
|
+
"from": "no-reply@wasya.co",
|
|
9
|
+
"subject": "tasty 16d test",
|
|
10
|
+
"timestamp": 1784241561.520441,
|
|
11
|
+
"spam_status": "NotChecked",
|
|
12
|
+
"tag": null
|
|
13
|
+
},
|
|
14
|
+
"status": "Sent",
|
|
15
|
+
"details": "Message for poxlovi@gmail.com accepted by 142.251.2.27:25 (gmail-smtp-in.l.google.com)",
|
|
16
|
+
"output": "250 2.0.0 OK 1784241562 5a478bee46e88-3142a267131si91362eec.61 - gsmtp",
|
|
17
|
+
"sent_with_ssl": true,
|
|
18
|
+
"timestamp": 1784241562.9551728,
|
|
19
|
+
"time": 0.64
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
{
|
|
24
|
+
"message": {
|
|
25
|
+
"id": 1786,
|
|
26
|
+
"token": "P6V8T55pRllHYS2w",
|
|
27
|
+
"direction": "outgoing",
|
|
28
|
+
"message_id": "6a595dcc152e2_7dea8459f5@245533f3cb05.mail",
|
|
29
|
+
"to": "robferrell1@hotmail.com",
|
|
30
|
+
"from": "no-reply@wasya.co",
|
|
31
|
+
"subject": "Using cursor is infuriating - AI makes you dumb",
|
|
32
|
+
"timestamp": 1784241612.205367,
|
|
33
|
+
"spam_status": "NotChecked",
|
|
34
|
+
"tag": null
|
|
35
|
+
},
|
|
36
|
+
"status": "HardFail",
|
|
37
|
+
"details": "Permanent SMTP delivery error when sending to 52.101.68.20:25 (hotmail-com.olc.protection.outlook.com)",
|
|
38
|
+
"output": "550 5.7.1 Unfortunately, messages from [167.172.221.28] weren't sent. Please contact your Internet service provider since part of their network is on our block list (S3140). You can also refer your provider to http://mail.live.com/mail/troubleshootin",
|
|
39
|
+
"sent_with_ssl": false,
|
|
40
|
+
"timestamp": 1784241616.289614,
|
|
41
|
+
"time": 0.13
|
|
42
|
+
}
|
|
@@ -40,9 +40,59 @@ class WcoEmail::Api::MessagesController < WcoEmail::ApiController
|
|
|
40
40
|
render status: :ok, json: { status: :ok }
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
=begin
|
|
44
|
+
|
|
45
|
+
{
|
|
46
|
+
"message": {
|
|
47
|
+
"id": 1778,
|
|
48
|
+
"direction": "outgoing",
|
|
49
|
+
"message_id": "6a595d99629a1_7dfe84558@245533f3cb05.mail",
|
|
50
|
+
"to": "poxlovi@gmail.com",
|
|
51
|
+
"from": "no-reply@wasya.co",
|
|
52
|
+
"subject": "tasty 16d test",
|
|
53
|
+
"timestamp": 1784241561.520441,
|
|
54
|
+
"spam_status": "NotChecked",
|
|
55
|
+
"tag": null
|
|
56
|
+
},
|
|
57
|
+
"status": "Sent",
|
|
58
|
+
"details": "Message for poxlovi@gmail.com accepted by 142.251.2.27:25 (gmail-smtp-in.l.google.com)",
|
|
59
|
+
"output": "250 2.0.0 OK 1784241562 5a478bee46e88-3142a267131si91362eec.61 - gsmtp",
|
|
60
|
+
"sent_with_ssl": true,
|
|
61
|
+
"timestamp": 1784241562.9551728,
|
|
62
|
+
"time": 0.64
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
{
|
|
67
|
+
"message": {
|
|
68
|
+
"id": 1786,
|
|
69
|
+
"token": "P6V8T55pRllHYS2w",
|
|
70
|
+
"direction": "outgoing",
|
|
71
|
+
"message_id": "6a595dcc152e2_7dea8459f5@245533f3cb05.mail",
|
|
72
|
+
"to": "robferrell1@hotmail.com",
|
|
73
|
+
"from": "no-reply@wasya.co",
|
|
74
|
+
"subject": "Using cursor is infuriating - AI makes you dumb",
|
|
75
|
+
"timestamp": 1784241612.205367,
|
|
76
|
+
"spam_status": "NotChecked",
|
|
77
|
+
"tag": null
|
|
78
|
+
},
|
|
79
|
+
"status": "HardFail",
|
|
80
|
+
"details": "Permanent SMTP delivery error when sending to 52.101.68.20:25 (hotmail-com.olc.protection.outlook.com)",
|
|
81
|
+
"output": "550 5.7.1 Unfortunately, messages from [167.172.221.28] weren't sent. Please contact your Internet service provider since part of their network is on our block list (S3140). You can also refer your provider to http://mail.live.com/mail/troubleshootin",
|
|
82
|
+
"sent_with_ssl": false,
|
|
83
|
+
"timestamp": 1784241616.289614,
|
|
84
|
+
"time": 0.13
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
=end
|
|
43
88
|
def postal_webhook
|
|
44
|
-
|
|
45
|
-
|
|
89
|
+
if 'HardFail' == params['status']
|
|
90
|
+
lead = Wco::Lead.where( email: params['message']['to'].downcase ).first
|
|
91
|
+
if lead
|
|
92
|
+
lead.tags.push Wco::Tag.bounce
|
|
93
|
+
lead.save
|
|
94
|
+
end
|
|
95
|
+
end
|
|
46
96
|
end
|
|
47
97
|
|
|
48
98
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wco_email
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.1.
|
|
4
|
+
version: 0.1.1.131
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Victor Pudeyev
|
|
@@ -309,6 +309,7 @@ files:
|
|
|
309
309
|
- app/assets/stylesheets/wco_email/logs.scss
|
|
310
310
|
- app/assets/stylesheets/wco_email/messages.scss
|
|
311
311
|
- app/assets/stylesheets/wco_email/tags.scss
|
|
312
|
+
- app/controllers/wco_email/api/README.txt
|
|
312
313
|
- app/controllers/wco_email/api/contexts_controller.rb
|
|
313
314
|
- app/controllers/wco_email/api/conversations_controller.rb
|
|
314
315
|
- app/controllers/wco_email/api/email_action_templates_controller.rb
|