Commit Graph

74 Commits

Author SHA1 Message Date
Pavel Dohnal
27b9857e6a Improve error reporting for MSS sending
[MAILPOET-1445]
2018-07-19 16:21:23 +01:00
Vlad
6c25fab6d6 Adds option to pause sending after processing sending error 2018-01-09 12:25:04 +00:00
Vlad
b6f62bd9bc Catches exceptions during sending 2017-11-28 16:42:22 +00:00
stoletniy
6fb18ad321 Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025] 2017-07-26 18:28:56 +03:00
mrcasual
0da0507e0a Fixes SMTP timing out on slow hosts
Increases default connection timeout value
Adds filter to specify custom connection timeout value

[MAILPOET-1004]
2017-07-17 15:21:33 +01:00
Vlad
34d09ce0c9 Sets mailer log error when queue cannot be saved during newsletter
pre-processing
2017-07-14 23:15:14 -04:00
stoletniy
703ee7ff71 Fix line breaks in tests [MAILPOET-981] 2017-07-03 16:29:21 +03:00
mrcasual
cbcd9fb22f Adds support for list-unsubscribe header to the MSS method
[MAILPOET-956]
2017-06-19 16:19:31 +01:00
Vlad
c91f8ccc7a Replaces SwiftMailer's mail() method with WP's PHPMailer 2017-06-09 09:52:22 -04:00
Alexey Stoletniy
3cb08e3c09 Rename MSS check methods to better distinguish them from Premium ones [PREMIUM-4] 2017-05-04 09:36:38 +03:00
Vlad
4a538e677d Adds filter to SMTP transport agent 2017-04-26 09:55:57 -04:00
Vlad
e235ee66eb Adds regression unit test 2017-04-04 09:59:06 -04:00
stoletniy
7f0195378c Merge pull request #833 from mailpoet/stop_daemon_with_sending_is_paused
Stops cron daemon when sending is paused due to an error [MAILPOET-839]
2017-02-27 16:49:55 +03:00
Vlad
0e5a26ce1f Stops cron daemon when sending is paused due to an error 2017-02-26 11:26:59 -05:00
Vlad
d14ecc982b Does not display unprocessed subscriber when sending a test message 2017-02-24 11:18:27 -05:00
Vlad
97eb772ab8 Enables temporarily disabled unit test 2017-02-20 13:17:06 -05:00
Vlad
bdcfd77d42 Returns last unprocessed subscriber in error message 2017-02-16 23:25:05 -05:00
Vlad
c9519f0b3d Adds logger to record SMTP communication
Returns a more complete error message and last unprocessed subscriber
2017-02-16 22:45:09 -05:00
Tautvidas Sipavičius
6575d1579d Merge pull request #796 from mailpoet/sending_svc_api_consolidation
Consolidate Sending Service API calls in one class [MAILPOET-795]
2017-02-01 13:29:34 +02:00
Tautvidas Sipavičius
282199d362 Merge pull request #784 from mailpoet/sending_svc_key_validation
Add sending service key validation [MAILPOET-743]
2017-02-01 13:29:08 +02:00
Tautvidas Sipavičius
a421dbd674 Fix tests 2017-01-30 21:35:49 +02:00
Alexey Stoletniy
461203279b Consolidate Sending Service API calls in one class [MAILPOET-795] 2017-01-27 16:35:12 +03:00
Alexey Stoletniy
438b4fb1ec Add unit tests [MAILPOET-743] 2017-01-27 16:22:09 +03:00
Alexey Stoletniy
19dc048858 Remove unused imports [MAILPOET-793] 2017-01-26 21:11:39 +03:00
Alexey Stoletniy
938279bf8f Remove unsubscribe link generation from Mailer - to be solved in another task [MAILPOET-793] 2017-01-26 21:07:03 +03:00
Alexey Stoletniy
dd2df429ef Add List-Unsubscribe header to emails [MAILPOET-793]
Amazon SES supports custom headers only via 'SendRawEmail' action
MailPoet Sending Service doesn't support custom headers yet
2017-01-26 15:38:23 +03:00
Alexey Stoletniy
b8c56623a6 Update unit tests [MAILPOET-774] 2017-01-09 10:55:36 +03:00
Vlad
c651a8bbe8 - Implements return path for SMTP/PHPMail/AmazonSES 2016-12-23 11:09:10 -05:00
Vlad
eb3f872dc6 - Updates mailer unit test 2016-11-30 12:39:27 -05:00
Vlad
9e4762cbd7 - Updates mailer methods unit tests 2016-11-30 10:59:34 -05:00
Vlad
08ec4e83c8 - Adds method to clear previous errors
- Updates unit tests
- Rebases master
2016-11-28 12:20:13 -05:00
Vlad
89545ba104 - Adds unit tests 2016-11-28 09:50:32 -05:00
Vlad
5d12de8ec0 - Removes unused mailing methods 2016-11-28 09:47:07 -05:00
Vlad
a9e02f745f - Encodes non-ASCII from/reply-to/to addresses as per RFC 2047 2016-11-28 08:56:14 -05:00
Vlad
1926b7ba29 - urlencodes POST data and fixes the "unable to determine service/operation
name to be authorized" error
2016-11-24 17:20:54 -05:00
Vlad
8c28dc3d8a - Restricts Amazon SES region to a specific list of hosts
- Updates unit tests
- Closes #647
2016-10-16 12:19:47 -04:00
Vlad
2e4c5ca39a - Updates Mailer Log class and adds unit tests 2016-09-21 19:53:26 -04:00
Vlad
f88dabffe8 - Updates cron's sending queue worker to use model objects
- Adds new method to render newsletter to the newsletter model
- Adds new transient object to newsletter model that will hold temporary
  values (i.e., rendered body) when working with the model
2016-09-18 23:14:17 -04:00
Tautvidas Sipavičius
a5300624c2 - Bump up release version to 0.0.36;
- Fix translation strings in unit tests
2016-07-15 15:59:40 +03:00
Jonathan Labreuille
9aa25446d1 fixed unit tests 2016-06-15 16:33:48 +02:00
Vlad
1e9da724ea - Updates exception test logic 2016-06-02 12:33:58 -04:00
Vlad
645d4e15ab - Updates unit test 2016-06-02 11:03:16 -04:00
Vlad
cad5b242b2 - Increases Mailer unit test coverage to 100% 2016-06-02 10:11:36 -04:00
Jonathan Labreuille
a9b9e9c631 Updated tests in order to fix WP related issues 2016-03-18 14:30:59 +01:00
Vlad
ca7322933f - Fixes issue with incorrect transport being used for localhost sending 2016-02-24 11:56:29 -05:00
Vlad
24cb614adb - Enables conditional bypassing of unit tests 2016-02-04 18:41:18 -05:00
Vlad
2f42f643ab - Fixes message body construction 2016-01-28 22:29:47 -05:00
Vlad
f3b9f7be92 - Updates MailPoet mailer to support batch sending
- Fixes message encoding issue
2016-01-28 09:40:57 -05:00
Vlad
c0f98c9ba6 - Moves credentials from mailer tests to ENV file
- Disables send method by default unless enabled in ENV file
2016-01-27 18:36:38 -05:00
Vlad
0776e9ad73 - Adds "reply to" option to all mailers
- Replaces WPMail with Swift using local transport (PHP mail)
- Fixes AmazonSES region naming convention
- Updates tests
2016-01-26 19:08:02 -05:00