Commit Graph

191 Commits

Author SHA1 Message Date
86675dfd4f Move Swiftmailer to vendor-prefixed
[MAILPOET-2363]
2019-10-02 09:30:49 +01:00
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
777cf0bdd7 Add meta when sending newsletters
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
3dcde4170e Add meta when sending new subscriber notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
eebe6e828f Add meta when sending confirmation emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
553df6c135 Add meta when sending WP transactional emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
d40747e0ac Add meta when sending stats notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
723cb368c4 Add meta when sending previews
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
8594645e0d Add meta to test emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
5a3994ab5d Create mailer MetaInfo service
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
7a674e19b8 Add meta to extra_params
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
e9d12fb40e Move inline function to a private method
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
47a51834f9 Use only one body for text emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
4127f1fadf Remove useless condition
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
0957b6a129 Remove comments
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
952b9d7dd4 Initialise hooks early
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
198b04fe24 Translate exception for phpmailer
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
10903cb6c8 Throw for unknown content type
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
d953fde6f9 Deal with Mailer Response
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
998139f896 Send WordPress HTML emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
dcb9b124c8 Send text wordpress emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
b844d41fde Allow text mails to be send using PHPMail
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
ef29a301fc Allow full name to be passed to mailer
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
72c62ba937 Hide feature behind feature flag
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
aa1b9157a4 Replace WordPress Mailer with our own implementation
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
81079dcd7c Italicize the email too 2019-09-12 15:19:35 +02:00
6e3faef6c3 i18n: Avoid using HTML tags in translation strings
Replace `<i>%s</i>` with a simple `%s`. Move the HTML tags outside the strings, to `sprintf()` parameter.
2019-09-12 15:19:35 +02:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
8739646a6a Move mailer configuration to init method
[MAILPOET-2146]
2019-07-24 13:54:49 -04:00
d6f263ef3f Make method private
[MAILPOET-2146]
2019-07-24 13:54:49 -04:00
wxa
7f40e5b512 Clean up unused imports [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
wxa
160d3d0607 Refactor mailer blacklist from trait to DI [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
wxa
26d7fb5468 Fix PR remarks [MAILPOET-2176] 2019-07-11 06:53:10 -04:00
wxa
57b13c8896 Add blacklist to Mailer [MAILPOET-2176] 2019-07-11 06:53:10 -04:00
a92a3de26d Improve MSS sending error message
[MAILPOET-2115]
2019-06-25 10:54:02 -04:00
de36898231 Enable soft sending errors 2019-06-20 12:40:24 -04:00
731ae6de98 Enforce base64 when email encoding needed for PHPMail & mail() function
[MAILPOET-2065]
2019-06-18 09:38:09 -04:00
f86c0c9612 Refactor authorized emails validation from Bridge to Controller
[MAILPOET-2022]
2019-06-03 12:54:24 -04:00
3aa382a060 Refactor resume sending js code out of PHP
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
cf7c5475c3 Add authorized emails check on error from MSS
[MAILPOET-1987]
2019-05-21 09:58:29 -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
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
df587ca486 Move tags outside translatable string 2019-05-10 08:28:52 -04:00
e1f9c93276 Show the old admin notice when using free email 2019-05-10 08:28:52 -04:00
wxa
994fae79d2 Move Mailer error tests to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
bce05ce486 Fix statically calling non-static method
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00
a8e3fe79c2 Remove unnecessary HTML elements from strings
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00
3ec5bf10bb Show different error message when sending from unauthorized *free* email address
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00