Commit Graph

240 Commits

Author SHA1 Message Date
Jan Lysý
492415f3ae Fix deprecated usage of string functions
[MAILPOET-4001]
2022-01-13 16:58:33 +01:00
Jan Lysý
09c2ce653c Fix code style by updated ruleset
[MAILPOET-3912]
2022-01-13 09:23:55 +01:00
Rodrigo Primo
8cd3205ade Add support for SubscriberEntity in Mailer::send()
This will be used once ConfirmationEmailMailer is refactored to pass a
SubscriberEntity instance to Mailer::send() in a subsequent commit and
is likely to be useful when refactoring other classes that call the same
method.

[MAILPOET-3815]
2021-12-13 16:03:07 +01:00
Rodrigo Primo
1dbedea50f Refactor MetaInfo::getConfirmationMetaInfo() to use Doctrine
This method is used only inside
ConfirmationEmailMailer::sendConfirmationEmail(). So I figured it was
best to refactor it as well to use SubscriberEntity instead of the old
Subscriber model as part of the task to do the same for the
ConfirmationEmailMailer class. I opted for this approach since it was a
straightforward change.

[MAILPOET-3815]
2021-12-13 16:03:07 +01:00
wxa
516e5fbb14 Reuse the new notice for a similar forgotten MSS notice
[MAILPOET-3830]
2021-10-18 09:37:52 +02:00
wxa
1c738d5c73 Fix "Class 'PHPMailer\PHPMailer\Exception' not found" error
[MAILPOET-3836]
2021-10-04 10:53:02 +02:00
Brezo Cordero
7f7903e55c Allow reply-to with only address
[MAILPOET-3812]
2021-10-04 09:36:29 +02:00
Brezo Cordero
51a0899698 Mark most SMTP transport errors as soft
[MAILPOET-3171]
2021-09-22 12:48:17 +02:00
Pavel Dohnal
21839fc30b Fix indentation of multiline function declarations
[MAILPOET-3732]
2021-09-17 12:17:36 +02:00
Pavel Dohnal
cdda3480ca Make all constructor signatures multiline
[MAILPOET-3732]
2021-09-16 14:19:40 +02:00
Jan Lysý
7f15fce246 Display a specific error message for banned users
[MAILPOET-3667]
2021-09-13 15:34:10 +02:00
Rodrigo Primo
f8388c5497 Fix reply-to address when sending WP e-mails
This commit makes sure that the reply-to set for WP e-mails is
preserved when MailPoet is used to send them. Before this change,
MailPoet would ignore whatever was set for the reply-to field for WP
e-mails and use the same address as the one used for the sender instead.

I'm not super happy with the solution proposed here. I couldn't find an
easy way to simple set the reply-to address in the Mailer class and that
is why I'm calling Mailer::init() inside WordPressMailer.

[MAILPOET-3707]
2021-08-30 15:21:09 +02:00
Pavel Dohnal
04424f6389 Fix a conflict when a phpmailer is already defined
[MAILPOET-3769]
2021-08-25 12:45:57 +02:00
Rostislav Wolny
65b834a9ff Update renamed NotCamelCaps rule
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Jan Lysý
6a9e692f64 Add service for automatic decrease sending batch size
[MAILPOET-3588]
2021-05-03 18:39:33 +02:00
Rostislav Wolny
83ad751a51 Fix crashes on multisite installations
[MAILPOET-3403]
2021-02-04 10:40:24 +01:00
Jan Lysý
30b456396f Add new Amazon SES regions
[MAILPOET-3369]
2021-02-01 10:03:15 +01:00
Rostislav Wolny
03400bc4f7 Prevent using invalid bounce email address
[MAILPOET-2933]
2021-01-11 11:37:33 +01:00
Rostislav Wolny
d13f63b3e2 Fix other minor type issues in libs
[MAILPOET-3926]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
0f7f173259 Fix required after optional warning in SMTP mailer
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
derek-j-pitman
c405fbd02c Fix string termination 2020-11-25 10:49:34 +01:00
derek-j-pitman
1534659d2c Add US East (Ohio) to Amazon SES Mailer 2020-11-25 10:49:34 +01:00
wxa
a181afe646 Load PHPMailer conditionally to avoid deprecation notices in WP 5.5 [MAILPOET-3040] 2020-07-16 10:11:09 +02:00
wxa
f952f2d2b8 Add new Amazon SES locations [MAILPOET-3018] 2020-06-29 13:48:58 +02:00
Pavel Dohnal
98db0221d5 Add support for 'multipart/alternative' content type
[MAILPOET-2875]
2020-06-16 15:38:24 +02:00
Pavel Dohnal
ec8fbb4ac5 Fix content type detection
[MAILPOET-2970]
2020-06-16 14:05:54 +02:00
Jan Jakeš
3cdd224e14 Add an endpoint to set new authorized FROM email address
[MAILPOET-2804]
2020-04-01 16:21:15 +02:00
Martijn Wiekens | Alexion Software
ebfda35e9d Added eu-central-1, ap-south-1, ap-southeast-2 as Amazon SES regions 2020-03-08 13:19:10 +02:00
Jan Jakeš
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
43873306cd Fix incompatibilities with new version of Swiftmailer
[MAILPOET-2589]
2020-01-30 18:33:48 +00:00
Jan Jakeš
6641842dd1 Remove unused parameter
[MAILPOET-2648]
2020-01-30 01:56:07 +00:00
Jan Jakeš
e66c76133e Exclude MailPoet data structures from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
685b4885c0 Exclude WordPress and WooCommerce variables from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
d0292f8624 Convert variable names to camel case in PHPDoc
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
3bbc8ea2af Convert variable names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01: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š
e784b120b6 Add subscriber source and status for WP transactional emails
[MAILPOET-2574]
2019-12-19 13:40:43 +00:00
Jan Jakeš
fd94475194 Make fallback mailer initialization lazy to avoid crashing the plugin
[MAILPOET-2581]
2019-12-17 20:06:20 +00:00
Jan Jakeš
0c4dd20ce6 Fix source being reported as NULL when sending
[MAILPOET-2541]
2019-12-09 13:18:09 +00:00
Ján Mikláš
bd0faa9a71 Respect transactional emails settings
[MAILPOET-2536]
2019-12-05 11:18:25 +00:00
Ján Mikláš
90e49e9399 Remove feature flag for transactional emails
[MAILPOET-2536]
2019-12-05 11:18:25 +00:00
Jan Jakeš
e3507a334e Use PHPMail as a fallback in WordPressMailer
[MAILPOET-2515]
2019-11-14 10:02:28 +00: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š
86675dfd4f Move Swiftmailer to vendor-prefixed
[MAILPOET-2363]
2019-10-02 09:30:49 +01:00