PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/dynamics/sendinblue/plugin.php +9 -8 10.2.2 → 11.1.0 View file →
@@ -8,16 +8,16 @@
8 8 const SENDING_METHOD_ID = 'sendinblue';
9 9 const SENDING_METHOD_NAME = 'Brevo';
10 10 const SENDING_METHOD_API_URL = 'https://api.brevo.com/v3/';
11 11
12 - private $credentials;
13 - private $integration;
14 - private $transactional;
15 - private $campaign;
16 - private $list;
17 - private $users;
18 - private $sender;
19 - private $webhooks;
12 + private SendinblueCredentials $credentials;
13 + private SendinblueIntegration $integration;
14 + private SendinblueTransactional $transactional;
15 + private SendinblueCampaign $campaign;
16 + private SendinblueList $list;
17 + private SendinblueUsers $users;
18 + private SendinblueSender $sender;
19 + private SendinblueWebhooks $webhooks;
20 20
21 21 public function __construct()
22 22 {
23 23 parent::__construct();
@@ -109,8 +109,9 @@
109 109 if ($this->config->get('mailer_method') != self::SENDING_METHOD_ID) return;
110 110
111 111 $result = $this->users->addUserToList($receiverEmail, $mailId, $warnings);
112 112 if ($result) {
113 + // The API returns null every time so we have no clue if this went well
113 114 $this->users->addAttributeToUser($receiverEmail, $subjectContent, $htmlContent, $mailId);
114 115 }
115 116 }
116 117