Commit Graph

201 Commits

Author SHA1 Message Date
e784b120b6 Add subscriber source and status for WP transactional emails
[MAILPOET-2574]
2019-12-19 13:40:43 +00:00
fd94475194 Make fallback mailer initialization lazy to avoid crashing the plugin
[MAILPOET-2581]
2019-12-17 20:06:20 +00:00
0c4dd20ce6 Fix source being reported as NULL when sending
[MAILPOET-2541]
2019-12-09 13:18:09 +00:00
bd0faa9a71 Respect transactional emails settings
[MAILPOET-2536]
2019-12-05 11:18:25 +00:00
90e49e9399 Remove feature flag for transactional emails
[MAILPOET-2536]
2019-12-05 11:18:25 +00:00
e3507a334e Use PHPMail as a fallback in WordPressMailer
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
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
ad9793f511 Use injected settings instead of static fetch
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
c1b9b279f6 Remove magic mailer initialization
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
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