You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -80,7 +80,7 @@ public function test_email_sending($recipient, $debug = false)
80
80
}
81
81
82
82
if ($result) {
83
-
if (!$this->options['enable_sparkpost']) {
83
+
if (!$this->settings['enable_sparkpost']) {
84
84
$this->render_message('Test email sent successfully but not through SparkPost.<br/>Note: the SparkPost plugin is not enabled. To enable it, check "Send email using SparkPost" on the SparkPost settings page.', 'updated');
85
85
} else {
86
86
$this->render_message('Test email sent successfully', 'updated');
@@ -163,7 +163,7 @@ public function sanitize($input)
163
163
add_settings_error('Password', esc_attr('password'), 'API Key is required', 'error');
164
164
} else {
165
165
if(SparkPost::is_key_obfuscated(esc_attr($input['password']))) { //do not change password
<li>- Please see <a href="https://support.sparkpost.com/customer/portal/articles/2409547-using-templates-with-the-sparkpost-wordpress-plugin">this article</a> for detailed information about using templates with this plugin.</li>
@@ -245,30 +245,30 @@ public function render_template_field()
245
245
publicfunctionrender_from_email_field()
246
246
{
247
247
$hint = 'Important: Domain must match with one of your verified sending domains.';
0 commit comments