Rostislav Wolny
137245eede
Fix unit tests to work with updated codeception/verify
...
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
Jan Jakeš
b39dac75d6
Autofix number of newlines between methods
...
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
8c848cfa28
Convert property names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037
Convert variable names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162
Add public keyword to methods
...
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
86675dfd4f
Move Swiftmailer to vendor-prefixed
...
[MAILPOET-2363]
2019-10-02 09:30:49 +01:00
Jan Jakeš
1b5b9d89ff
Autofix namespace declaration spacing
...
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Amine Ben hammou
eebe6e828f
Add meta when sending confirmation emails
...
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
553df6c135
Add meta when sending WP transactional emails
...
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
d40747e0ac
Add meta when sending stats notifications
...
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
723cb368c4
Add meta when sending previews
...
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
8594645e0d
Add meta to test emails
...
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
wxa
7f40e5b512
Clean up unused imports [MAILPOET-2208]
2019-07-19 08:54:50 -04:00
wxa
b9b16dc13f
Add tests [MAILPOET-2176]
2019-07-11 06:53:10 -04:00
Pavel Dohnal
b9af15e19f
Enforce array trailling commas
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
994fae79d2
Move Mailer error tests to unit [MAILPOET-2009]
2019-05-03 08:41:05 -04:00
wxa
87e515b89d
Move current unit tests to integration tests
2018-10-29 17:57:47 +03:00
Rostislav Wolny
f5c9d0f7db
Remove unnecessary test_email extra parameter for mailer->send
...
It was used only to prevent appending unprocessed subscribers into error message.
Since the message is now composed by on demand by MailerError the parameter is not needed any more.
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
fe69b56692
Add soft level errors distinction for PHPMail method
...
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
45433c9deb
Add soft level errors distinction for SMTP method
...
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
6437f4a1b3
Add soft level errors distinction for SendGrid service
...
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
6df1db933e
Add soft level errors distinction for Amazon SES service
...
[MAILPOET-1154]
2018-09-13 11:12:01 +02:00
Rostislav Wolny
db3ddd22f1
Add soft level errors distinction for MailPoet service
...
[MAILPOET-1154]
2018-09-13 09:52:13 +02:00
Rostislav Wolny
223c2e1562
Add subscriber errors passing via MailerError object
...
We want to process errors for individual subscribers.
Subscriber errors were inlined into error message string.
This commit changes this so that we are now able to get
subscriber errors as a data which are easy to process further.
[MAILPOET-1154]
2018-09-13 09:48:54 +02:00
Rostislav Wolny
0923c892c1
Refactor sending methods to use error mappers
...
We want to add some logic to error handling.
This commit extracts error handling code from sending methods classes,
which already do a lot of other stuff, to error mappers which are responsible
for creating proper error object (MailerError). This error object is a replacement
for assoc. array which already had some special keys for certain usecases and
can not be properly type hinted.
[MAILPOET-1154]
2018-09-13 09:33:26 +02:00
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