Commit Graph

40 Commits

Author SHA1 Message Date
30b456396f Add new Amazon SES regions
[MAILPOET-3369]
2021-02-01 10:03:15 +01:00
d13f63b3e2 Fix other minor type issues in libs
[MAILPOET-3926]
2020-12-07 11:36:01 +01:00
c405fbd02c Fix string termination 2020-11-25 10:49:34 +01:00
1534659d2c Add US East (Ohio) to Amazon SES Mailer 2020-11-25 10:49:34 +01:00
wxa
f952f2d2b8 Add new Amazon SES locations [MAILPOET-3018] 2020-06-29 13:48:58 +02:00
ebfda35e9d Added eu-central-1, ap-south-1, ap-southeast-2 as Amazon SES regions 2020-03-08 13:19:10 +02:00
43873306cd Fix incompatibilities with new version of Swiftmailer
[MAILPOET-2589]
2020-01-30 18:33:48 +00:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
86675dfd4f Move Swiftmailer to vendor-prefixed
[MAILPOET-2363]
2019-10-02 09:30:49 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
wxa
160d3d0607 Refactor mailer blacklist from trait to DI [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
wxa
57b13c8896 Add blacklist to Mailer [MAILPOET-2176] 2019-07-11 06:53:10 -04:00
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a46d98ec44 Refactor WPFunctions to be injectable with DI 2018-12-12 16:43:52 +01:00
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
6df1db933e Add soft level errors distinction for Amazon SES service
[MAILPOET-1154]
2018-09-13 11:12:01 +02:00
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
819d4dc17a Abstracts WP functions 2018-01-15 19:52:51 -05:00
b6f62bd9bc Catches exceptions during sending 2017-11-28 16:42:22 +00:00
d05d033727 Forces ampersand as query separator for mailers 2017-03-08 14:34:35 -05:00
d14ecc982b Does not display unprocessed subscriber when sending a test message 2017-02-24 11:18:27 -05:00
689c340081 Converts special characters to HTML entities for all error messages 2017-02-21 09:55:18 -05:00
bc40bbb44b Convert special characters to HTML entities when displaying email
addresses
2017-02-20 13:03:08 -05:00
bdcfd77d42 Returns last unprocessed subscriber in error message 2017-02-16 23:25:05 -05:00
9f7ae122e3 Add missing periods to translation strings 2017-01-30 21:33:59 +02:00
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
c651a8bbe8 - Implements return path for SMTP/PHPMail/AmazonSES 2016-12-23 11:09:10 -05:00
8a278360f4 - Adds methods to format mailer send/connection succes & error results
- Updates all mailing methods to return true on success and error message
  on failure
2016-11-28 09:50:32 -05:00
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
01af4d3401 - Fixes const value declaration for PHP <5.6 2016-10-28 10:13:56 -04:00
8c28dc3d8a - Restricts Amazon SES region to a specific list of hosts
- Updates unit tests
- Closes #647
2016-10-16 12:19:47 -04:00
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
0dbe04c3f8 - Addresses issues identified during code review 2016-01-06 19:19:06 -05:00
f1bf2bb097 - Refactors Mailer class
- Refactors SendingQueue worker class
- Adds Maier router with a send() method + ability to specify sending method
- Updates tests
- Introduces 'stopping' and 'starting' cron states
- Improves cron control mechanism
Closes #276
2016-01-05 10:34:57 -05:00