Sam Najian
b2e556fd90
Inject WPFunctions to AmazonSES
...
[MAILPOET-4394]
2022-06-20 09:24:49 +02:00
Jan Lysý
670e6e4cba
Replace Swift Mailer for PHPMailer
...
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Rostislav Wolny
789385b0c4
Refactor mailerInstance property to mailerMethod
...
Naming mailerInstance was confusing since
it is not instance of Mailer class but instance of MailerMethod.
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
Rostislav Wolny
6240debc10
Declare strict types in newly added MailerRelated classes
...
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
Rostislav Wolny
8970f00bf3
Inject MailerMethod instance through constructor in Mailer
...
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
Rostislav Wolny
36edab34e6
Move logic for return path fallback address from method classes to factory
...
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
Rostislav Wolny
d4a8315933
Use mailerFactory in SendingQueue Mailer task
...
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
Rostislav Wolny
455d22631e
Add caching of default mailer instance in MailerFactory
...
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
Rostislav Wolny
51e0426e81
Add MailerFactory service
...
In this commit I copied and slightly modified functionality used
for creating Mailer instance based on config from the Mailer to an extra class.
The functionality still remains also in Mailer and will be removed later.
I also created test based on the original test for Mailer and added test case
testing it creates specific MailerMethods.
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00