Jan Jakeš
3cdd224e14
Add an endpoint to set new authorized FROM email address
...
[MAILPOET-2804]
2020-04-01 16:21:15 +02: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
wxa
09a1411c81
Fix types with annotations [MAILPOET-2488]
2019-12-30 14:51:22 +01:00
Amine Ben hammou
43df66d162
Add public keyword to methods
...
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
606f6b24aa
Move mailer limit and frequency to where it is needed, make function non-static
...
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
Jan Jakeš
ad9793f511
Use injected settings instead of static fetch
...
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
Jan Jakeš
c1b9b279f6
Remove magic mailer initialization
...
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
Jan Jakeš
d970dda637
Replace "new SettingsController()" with fetch from DI container
...
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
1b5b9d89ff
Autofix namespace declaration spacing
...
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Pavel Dohnal
ef29a301fc
Allow full name to be passed to mailer
...
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
8739646a6a
Move mailer configuration to init method
...
[MAILPOET-2146]
2019-07-24 13:54:49 -04:00
Pavel Dohnal
d6f263ef3f
Make method private
...
[MAILPOET-2146]
2019-07-24 13:54:49 -04:00
Rostislav Wolny
f86c0c9612
Refactor authorized emails validation from Bridge to Controller
...
[MAILPOET-2022]
2019-06-03 12:54:24 -04:00
Rostislav Wolny
cf7c5475c3
Add authorized emails check on error from MSS
...
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Pavel Dohnal
5da7110eb6
Use short array syntax
...
[MAILPOET-2090]
2019-05-20 10:18:45 -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
Amine Ben hammou
ab097d356a
Fix PHPStan errors
2019-03-07 08:30:14 -05:00
wxa
fb77167a1f
Remove unused imports [MAILPOET-1825]
2019-02-21 09:51:53 -05:00
Ján Mikláš
3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
a8972ca281
Add space between switch and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolny
62dca415d4
Improve naming in SettingsController
...
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
Rostislav Wolny
f4f1770b1d
Refactor MailPoet\Mailer to use new settings
...
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
wxa
467bef1d61
Do not require pluggable.php [MAILPOET-1650]
2018-11-22 17:01:33 +03: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
Vlad
9c27384ba3
Passes responsibility for mailer error message HTML entity escaping from
...
server to the client side
2017-02-24 11:06:20 -05:00
Vlad
689c340081
Converts special characters to HTML entities for all error messages
2017-02-21 09:55:18 -05:00
Tautvidas Sipavičius
9f7ae122e3
Add missing periods to translation strings
2017-01-30 21:33:59 +02: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
Vlad
c651a8bbe8
- Implements return path for SMTP/PHPMail/AmazonSES
2016-12-23 11:09:10 -05:00
Vlad
08ec4e83c8
- Adds method to clear previous errors
...
- Updates unit tests
- Rebases master
2016-11-28 12:20:13 -05:00
Vlad
90a0061233
- Updates mailer log to record error messages, track retry attempts and
...
pause sending
2016-11-28 09:50:32 -05:00
Vlad
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
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
677060491d
- Fixes an issue with unicode characters not rendering in from/reply-to/to
...
fields.
2016-11-25 15:34:55 -05:00
Jonathan Labreuille
4402f826c3
fixed issue with namespace AND fixed issue #649
2016-10-06 12:54:04 +02:00
Jonathan Labreuille
b9745b555a
make sure ABSPATH is defined before using it - fixes issue #648
2016-10-06 12:52:53 +02:00
Jonathan Labreuille
7fbf84db1f
converted text domain to string instead of constant
2016-09-30 09:58:26 +02:00
Jonathan Labreuille
42202f676a
updated Env::plugin_name to constant for text domain
2016-09-27 14:54:23 +02:00
Jonathan Labreuille
ba6198f956
added textdomain to __() calls
2016-09-27 14:53:44 +02: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
Vlad
3508ac36b4
- Removes daemon status logic and updates tests
...
- Refactors daemon
- Adds daemon unit tests
2016-09-08 19:22:42 -04:00
Vlad
5fa9b5a8dd
- Updates method name that returns mailer configuration
2016-08-05 13:03:31 -04:00
Vlad
067b3ff3e6
- Updates Mailer class to use default values from Settings
2016-08-05 13:03:31 -04:00
Vlad
9b9cb1455a
- Updates cron/mailer/scheduler code to work with the new sending queue
...
task scheduler and mailer log
2016-08-05 13:03:31 -04:00
Kiefer Conrad
49b65729db
update 14 July 2016
2016-07-14 20:58:12 +02:00