John Oleksowicz
d0e6904d68
Restore <br/> to getCanNotSendError message
...
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
4a4ecc8204
Consistent pending approval message
...
MAILPOET-5631
2023-11-02 18:15:55 +01:00
Brezo Cordero
3104b61005
Remove data-beacon-article
...
[MAILPOET-5551]
2023-09-07 14:50:35 +02:00
Rostislav Wolny
15aeea834f
Handle error message for exceeded email limit when limit is not known
...
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
469b9bf85f
Remove unnecessary premium key refresh when volume limit error happens
...
The limit is stored in and read from MSS key state and now we preserve
state data even when the key becomes underprivileged.
We don't need to refresh anything and also the checking underprivileged key
would return 403 and no data about limits.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
db467d8616
Add handling of subscriber limit error to MailPoet error mapper
...
When the shop blocked access for an API key due subscriber limit it used
to set the error as "Insufficient privileges," and that was in the plugin
interpreted same as "Subscribers limit reached".
The SHOP-1228 changes the error message will be set to "Subscribers limit reached".
This commit updates the error mapper to be able to process the new error message.
It also keeps the old approach for previously blocked keys.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
4995ed93f0
Refactor invalidation of MSS key to non static method
...
This is the olny staically called method from the service. In this commit I refactored it to non-static so that it works properly with injected services.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
87e5ea8dfd
Add filter for PHPMailer instance into SMTP mailer method
...
[MAILPOET-5064]
2023-02-23 16:45:39 +01:00
Jan Lysý
579de1cc86
Reduce the count of constants
...
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
2e97cb6924
Fix tests after last changes
...
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
982568445b
Extract sending error messages from bridge to strings
...
The original error is stored under a new key for easier handling an error state.
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Jan Jakes
c67c58709b
Unify spacing of declare statements
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Jan Jakes
dee5ff38f5
Fix error when sending a preview email with MSS
...
With HTTPS and "$oneClickUnsubscribeUrl = false", we were sending "false" instead of an actual URL.
[MAILPOET-4813]
2022-11-15 15:05:03 +01:00
Sam Najian
50b613365f
Make sure one-click unsubscribe url won't redirect internally
...
[MAILPOET-4703]
2022-11-11 09:21:30 +01:00
Sam Najian
8e69299a6a
Adjust naming and use wp wrapper I/O of direct usage
...
[MAILPOET-4702]
2022-11-09 12:36:44 +01:00
Sam Najian
c39ae1fe1f
Adjust the unsubscribe key to use the new structure
...
[MAILPOET-4702]
2022-11-09 12:36:44 +01:00
Oluwaseun Olorunsola
c1f5ddf96e
Improve the DMARC error message
...
When the DMARC error message is displayed, add the sentence Click here to start the authentication. This will be a link that opens the verify domain dialogue
MAILPOET-4311
2022-09-08 12:51:48 +02:00
Jan Lysý
52795c3972
Add new filters to the SMTP sending method
...
[MAILPOET-4437]
2022-08-22 13:16:51 +02:00
David Remer
218de96024
Fix WordPress.WP.I18n.MissingTranslatorsComment errors
...
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
b05e6d414c
Remove WP\Functions::__ and other translate functions
...
Under the new sniffer rules, those functions produce errors and, when those methods
are used, the sniffer can not properly be applied.
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
Ján Mikláš
f10596feec
Fix typos in translations
...
[MAILPOET-4447]
2022-06-20 10:17:24 +02:00
Sam Najian
b2e556fd90
Inject WPFunctions to AmazonSES
...
[MAILPOET-4394]
2022-06-20 09:24:49 +02:00
Jan Lysý
978afcdc1c
Fix condition for authentication
...
[MAILPOET-4398]
2022-06-06 11:16:07 +02:00
Jan Lysý
00fe1eb1c4
Replace transport hook with a new smpt_options
...
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
0186ddee35
Replace Swift_message with PHPMailer
...
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
d7582ede37
Move common code into parent class
...
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
670e6e4cba
Replace Swift Mailer for PHPMailer
...
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
5ee32e5f30
Add abstract parent for PHPMail method
...
For better reusability and prevention of duplicated code
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
1dd2c82634
Load PHPMailer
...
We don't support old loading for WordPress 5.5 and lower
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
32c27b91c1
Add handling for more 5xx errors from the bridge
...
[MAILPOET-4209]
2022-05-11 09:13:09 +02:00
Rostislav Wolny
bc6026ca77
Add typehints to MailerMethod interface
...
[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
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
b10c30a7b1
Add basic interface for MailerMethod
...
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
Sam Najian
8f377d9308
Make default value for $linkTag of replaceLinkTags explicit
...
[MAILPOET-3992]
2022-04-11 15:30:29 +02:00
Sam Najian
9a34c16ea5
Add separate message for pending approval error message
...
[MAILPOET-3992]
2022-04-11 15:30:29 +02:00
Sam Najian
aed41ef00d
Prepare code for more messages
...
[MAILPOET-3992]
2022-04-11 15:30:29 +02:00
Jan Lysý
ed87d1cace
Fix format for List-Unsubscribe header
...
[MAILPOET-4235]
2022-04-11 09:22:22 +02:00
Jan Lysý
35c18063e8
Add refreshing premium state
...
We need to refresh premium state because it contains
count of sent emails and email volume limit.
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
69769697ab
Add handling new type of error for email volume limit
...
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
f527a4ae2b
Remove prefixing translation function in MailPoetMapper
...
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Oluwaseun Olorunsola
1c7a7549bd
Add new Amazon SES locations
...
[MAILPOET-4041]
2022-01-19 16:15:25 +01:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00