Merged in feature/MAW-855-import-code-into-aws (pull request #2)
code import from pantheon * code import from pantheon
This commit is contained in:
@@ -68,13 +68,13 @@ class AdditionalConnectionsTab extends PageAbstract {
|
||||
|
||||
wp_enqueue_style(
|
||||
'wp-mail-smtp-admin-lity',
|
||||
wp_mail_smtp()->assets_url . '/libs/lity/lity.min.css',
|
||||
wp_mail_smtp()->assets_url . '/css/vendor/lity.min.css',
|
||||
[],
|
||||
'2.4.1'
|
||||
);
|
||||
wp_enqueue_script(
|
||||
'wp-mail-smtp-admin-lity',
|
||||
wp_mail_smtp()->assets_url . '/libs/lity/lity.min.js',
|
||||
wp_mail_smtp()->assets_url . '/js/vendor/lity.min.js',
|
||||
[],
|
||||
'2.4.1'
|
||||
);
|
||||
@@ -87,14 +87,13 @@ class AdditionalConnectionsTab extends PageAbstract {
|
||||
*/
|
||||
public function display() {
|
||||
|
||||
$upgrade_link_url = wp_mail_smtp()->get_upgrade_link(
|
||||
$top_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'Additional Connections Settings',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Link',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Button Top',
|
||||
]
|
||||
);
|
||||
|
||||
$upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
$bottom_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'Additional Connections Settings',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Button',
|
||||
@@ -108,21 +107,13 @@ class AdditionalConnectionsTab extends PageAbstract {
|
||||
</h4>
|
||||
<p class="wp-mail-smtp-product-education__description">
|
||||
<?php
|
||||
echo wp_kses(
|
||||
sprintf( /* translators: %s - WPMailSMTP.com Upgrade page URL. */
|
||||
__( 'Create additional connections to set a backup for your Primary Connection or to configure Smart Routing. <a href="%s" target="_blank" rel="noopener noreferrer">Upgrade to WP Mail SMTP Pro!</a>', 'wp-mail-smtp' ),
|
||||
esc_url( $upgrade_link_url )
|
||||
),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
'rel' => [],
|
||||
'target' => [],
|
||||
],
|
||||
]
|
||||
);
|
||||
esc_html_e( 'Create additional connections to set a backup for your Primary Connection or to configure Smart Routing.', 'wp-mail-smtp' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<a href="<?php echo esc_url( $top_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--top wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
@@ -130,7 +121,7 @@ class AdditionalConnectionsTab extends PageAbstract {
|
||||
$this->display_education_features_list();
|
||||
?>
|
||||
|
||||
<a href="<?php echo esc_url( $upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<a href="<?php echo esc_url( $bottom_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--bottom wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
namespace WPMailSMTP\Admin\Pages;
|
||||
|
||||
use WPMailSMTP\Admin\PageAbstract;
|
||||
use WPMailSMTP\Helpers\UI;
|
||||
|
||||
/**
|
||||
* Class AlertsTab is a placeholder for Pro alerts feature.
|
||||
@@ -61,20 +62,18 @@ class AlertsTab extends PageAbstract {
|
||||
*/
|
||||
public function display() {
|
||||
|
||||
$upgrade_link_url = wp_mail_smtp()->get_upgrade_link(
|
||||
$top_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'Alerts Settings',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Link',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Button Top',
|
||||
]
|
||||
);
|
||||
|
||||
$upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
$bottom_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'Alerts Settings',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Button',
|
||||
]
|
||||
);
|
||||
|
||||
?>
|
||||
<div class="wp-mail-smtp-product-education">
|
||||
<div class="wp-mail-smtp-product-education__row">
|
||||
@@ -83,21 +82,50 @@ class AlertsTab extends PageAbstract {
|
||||
</h4>
|
||||
<p class="wp-mail-smtp-product-education__description">
|
||||
<?php
|
||||
echo wp_kses(
|
||||
sprintf( /* translators: %s - WPMailSMTP.com Upgrade page URL. */
|
||||
__( 'Configure at least one of these integrations to receive notifications when email fails to send from your site. Alert notifications will contain the following important data: email subject, email Send To address, the error message, and helpful links to help you fix the issue. <a href="%s" target="_blank" rel="noopener noreferrer">Upgrade to WP Mail SMTP Pro!</a>', 'wp-mail-smtp' ),
|
||||
esc_url( $upgrade_link_url )
|
||||
),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
'rel' => [],
|
||||
'target' => [],
|
||||
],
|
||||
]
|
||||
);
|
||||
esc_html_e( 'Configure at least one of these integrations to receive notifications when email fails to send from your site. Alert notifications will contain the following important data: email subject, email Send To address, the error message, and helpful links to help you fix the issue.', 'wp-mail-smtp' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<a href="<?php echo esc_url( $top_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--top wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="wp-mail-smtp-product-education__row wp-mail-smtp-product-education__row--inactive">
|
||||
<div id="wp-mail-smtp-setting-row-alert_event_types" class="wp-mail-smtp-setting-row wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-debug_event_types">
|
||||
<?php esc_html_e( 'Notify when', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'label' => esc_html__( 'The initial email sending request fails', 'wp-mail-smtp' ),
|
||||
'checked' => true,
|
||||
'disabled' => true,
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'This option is always enabled and will notify you about instant email sending failures.', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
<hr class="wp-mail-smtp-setting-mid-row-sep">
|
||||
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'label' => esc_html__( 'The deliverability verification process detects a hard bounce', 'wp-mail-smtp' ),
|
||||
'disabled' => true,
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Get notified about emails that were successfully sent, but have hard bounced on delivery attempt. A hard bounce is an email that has failed to deliver for permanent reasons, such as the recipient\'s email address being invalid.', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wp-mail-smtp-product-education__row wp-mail-smtp-product-education__row--inactive">
|
||||
@@ -113,11 +141,9 @@ class AlertsTab extends PageAbstract {
|
||||
<label><?php esc_html_e( 'Email Alerts', 'wp-mail-smtp' ); ?></label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<label>
|
||||
<span class="wp-mail-smtp-setting-toggle-switch"></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-checked-label"><?php esc_html_e( 'On', 'wp-mail-smtp' ); ?></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-unchecked-label"><?php esc_html_e( 'Off', 'wp-mail-smtp' ); ?></span>
|
||||
</label>
|
||||
<?php
|
||||
UI::toggle();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-alert-options">
|
||||
@@ -144,11 +170,9 @@ class AlertsTab extends PageAbstract {
|
||||
<label><?php esc_html_e( 'Slack Alerts', 'wp-mail-smtp' ); ?></label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<label>
|
||||
<span class="wp-mail-smtp-setting-toggle-switch"></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-checked-label"><?php esc_html_e( 'On', 'wp-mail-smtp' ); ?></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-unchecked-label"><?php esc_html_e( 'Off', 'wp-mail-smtp' ); ?></span>
|
||||
</label>
|
||||
<?php
|
||||
UI::toggle();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-alert-options">
|
||||
@@ -175,11 +199,9 @@ class AlertsTab extends PageAbstract {
|
||||
<label><?php esc_html_e( 'SMS via Twilio Alerts', 'wp-mail-smtp' ); ?></label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<label>
|
||||
<span class="wp-mail-smtp-setting-toggle-switch"></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-checked-label"><?php esc_html_e( 'On', 'wp-mail-smtp' ); ?></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-unchecked-label"><?php esc_html_e( 'Off', 'wp-mail-smtp' ); ?></span>
|
||||
</label>
|
||||
<?php
|
||||
UI::toggle();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-alert-options">
|
||||
@@ -224,11 +246,9 @@ class AlertsTab extends PageAbstract {
|
||||
<label><?php esc_html_e( 'Webhook Alerts', 'wp-mail-smtp' ); ?></label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<label>
|
||||
<span class="wp-mail-smtp-setting-toggle-switch"></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-checked-label"><?php esc_html_e( 'On', 'wp-mail-smtp' ); ?></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-unchecked-label"><?php esc_html_e( 'Off', 'wp-mail-smtp' ); ?></span>
|
||||
</label>
|
||||
<?php
|
||||
UI::toggle();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-alert-options">
|
||||
@@ -244,7 +264,7 @@ class AlertsTab extends PageAbstract {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo esc_url( $upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<a href="<?php echo esc_url( $bottom_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--bottom wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
namespace WPMailSMTP\Admin\Pages;
|
||||
|
||||
use WPMailSMTP\Admin\PageAbstract;
|
||||
use WPMailSMTP\Helpers\UI;
|
||||
use WPMailSMTP\WP;
|
||||
|
||||
/**
|
||||
@@ -210,16 +211,16 @@ class ControlTab extends PageAbstract {
|
||||
*/
|
||||
public function display() { // phpcs:ignore Generic.Metrics.CyclomaticComplexity.TooHigh
|
||||
|
||||
$link_upgrade_link = add_query_arg(
|
||||
$top_upgrade_button_url = add_query_arg(
|
||||
[ 'discount' => 'LITEUPGRADE' ],
|
||||
wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'Email Controls',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Button Top',
|
||||
]
|
||||
)
|
||||
);
|
||||
$button_upgrade_link = add_query_arg(
|
||||
$bottom_upgrade_button_url = add_query_arg(
|
||||
[ 'discount' => 'LITEUPGRADE' ],
|
||||
wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
@@ -237,21 +238,13 @@ class ControlTab extends PageAbstract {
|
||||
</h4>
|
||||
<p class="wp-mail-smtp-product-education__description">
|
||||
<?php
|
||||
echo wp_kses(
|
||||
sprintf( /* translators: %s - WPMailSMTP.com Upgrade page URL. */
|
||||
__( 'Email controls allow you to manage the automatic notifications you receive from your WordPress website. With the flick of a switch, you can reduce inbox clutter and focus on the alerts that matter the most. It\'s easy to disable emails about comments, email or password changes, WordPress updates, user registrations, and personal data requests. <a href="%s" target="_blank" rel="noopener noreferrer">Upgrade to WP Mail SMTP Pro!</a>', 'wp-mail-smtp' ),
|
||||
esc_url( $link_upgrade_link )
|
||||
),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
'rel' => [],
|
||||
'target' => [],
|
||||
],
|
||||
]
|
||||
);
|
||||
esc_html_e( 'Email controls allow you to manage the automatic notifications you receive from your WordPress website. With the flick of a switch, you can reduce inbox clutter and focus on the alerts that matter the most. It\'s easy to disable emails about comments, email or password changes, WordPress updates, user registrations, and personal data requests.', 'wp-mail-smtp' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<a href="<?php echo esc_url( $top_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--top wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="wp-mail-smtp-product-education__row wp-mail-smtp-product-education__row--inactive">
|
||||
@@ -288,16 +281,9 @@ class ControlTab extends PageAbstract {
|
||||
<label><?php echo esc_html( $email['label'] ); ?></label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<label>
|
||||
<input type="checkbox" checked/>
|
||||
<span class="wp-mail-smtp-setting-toggle-switch"></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-checked-label">
|
||||
<?php esc_html_e( 'On', 'wp-mail-smtp' ); ?>
|
||||
</span>
|
||||
<span class="wp-mail-smtp-setting-toggle-unchecked-label">
|
||||
<?php esc_html_e( 'Off', 'wp-mail-smtp' ); ?>
|
||||
</span>
|
||||
</label>
|
||||
<?php
|
||||
UI::toggle( [ 'checked' => true ] );
|
||||
?>
|
||||
<?php if ( ! empty( $email['desc'] ) ) : ?>
|
||||
<p class="desc">
|
||||
<?php echo $email['desc']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
||||
@@ -309,7 +295,7 @@ class ControlTab extends PageAbstract {
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo esc_url( $button_upgrade_link ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<a href="<?php echo esc_url( $bottom_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--bottom wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -8,6 +8,7 @@ use WPMailSMTP\Admin\DebugEvents\Migration;
|
||||
use WPMailSMTP\Admin\DebugEvents\Table;
|
||||
use WPMailSMTP\Admin\PageAbstract;
|
||||
use WPMailSMTP\Admin\ParentPageAbstract;
|
||||
use WPMailSMTP\Helpers\UI;
|
||||
use WPMailSMTP\Options;
|
||||
use WPMailSMTP\WP;
|
||||
|
||||
@@ -195,7 +196,7 @@ class DebugEventsTab extends PageAbstract {
|
||||
<?php $this->wp_nonce_field(); ?>
|
||||
|
||||
<!-- Debug Events Section Title -->
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-content wp-mail-smtp-clear section-heading" id="wp-mail-smtp-setting-row-email-heading">
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-content wp-mail-smtp-clear section-heading wp-mail-smtp-section-heading--has-divider">
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<h2><?php esc_html_e( 'Debug Events', 'wp-mail-smtp' ); ?></h2>
|
||||
</div>
|
||||
@@ -205,38 +206,47 @@ class DebugEventsTab extends PageAbstract {
|
||||
</div>
|
||||
|
||||
<!-- Debug Events -->
|
||||
<div id="wp-mail-smtp-setting-row-debug_event_types" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
|
||||
<div id="wp-mail-smtp-setting-row-debug_event_types" class="wp-mail-smtp-setting-row wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-debug_event_types">
|
||||
<?php esc_html_e( 'Event Types', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<div>
|
||||
<input name="wp-mail-smtp[debug_events][email_errors]" type="checkbox"
|
||||
value="true"
|
||||
checked
|
||||
disabled
|
||||
id="wp-mail-smtp-setting-debug_events_email_errors">
|
||||
<label for="wp-mail-smtp-setting-debug_events_email_errors">
|
||||
<?php esc_html_e( 'Email Sending Errors', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'This debug event is always enabled and will record any email sending errors in the table below.', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[debug_events][email_errors]',
|
||||
'id' => 'wp-mail-smtp-setting-debug_events_email_errors',
|
||||
'value' => 'true',
|
||||
'checked' => true,
|
||||
'disabled' => true,
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Email Sending Errors', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'This debug event is always enabled and will record any email sending errors in the table below.', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
<hr class="wp-mail-smtp-setting-mid-row-sep">
|
||||
<div>
|
||||
<input name="wp-mail-smtp[debug_events][email_debug]" type="checkbox"
|
||||
value="true" <?php checked( true, $this->options->get( 'debug_events', 'email_debug' ) ); ?>
|
||||
id="wp-mail-smtp-setting-debug_events_email_debug">
|
||||
<label for="wp-mail-smtp-setting-debug_events_email_debug">
|
||||
<?php esc_html_e( 'Debug Email Sending', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Check this if you would like to debug the email sending process. Once enabled, all debug events will be logged in the table below. This setting should only be enabled for shorter debugging periods and disabled afterwards.', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[debug_events][email_debug]',
|
||||
'id' => 'wp-mail-smtp-setting-debug_events_email_debug',
|
||||
'value' => 'true',
|
||||
'checked' => (bool) $this->options->get( 'debug_events', 'email_debug' ),
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Debug Email Sending', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Check this if you would like to debug the email sending process. Once enabled, all debug events will be logged in the table below. This setting should only be enabled for shorter debugging periods and disabled afterwards.', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -73,13 +73,13 @@ class EmailReportsTab extends PageAbstract {
|
||||
|
||||
wp_enqueue_style(
|
||||
'wp-mail-smtp-admin-lity',
|
||||
wp_mail_smtp()->assets_url . '/libs/lity/lity.min.css',
|
||||
wp_mail_smtp()->assets_url . '/css/vendor/lity.min.css',
|
||||
[],
|
||||
'2.4.1'
|
||||
);
|
||||
wp_enqueue_script(
|
||||
'wp-mail-smtp-admin-lity',
|
||||
wp_mail_smtp()->assets_url . '/libs/lity/lity.min.js',
|
||||
wp_mail_smtp()->assets_url . '/js/vendor/lity.min.js',
|
||||
[],
|
||||
'2.4.1',
|
||||
false
|
||||
@@ -93,7 +93,13 @@ class EmailReportsTab extends PageAbstract {
|
||||
*/
|
||||
public function display() {
|
||||
|
||||
$button_upgrade_link = wp_mail_smtp()->get_upgrade_link(
|
||||
$top_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'email-reports',
|
||||
'content' => 'upgrade-to-wp-mail-smtp-pro-button-link-top',
|
||||
]
|
||||
);
|
||||
$bottom_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'email-reports',
|
||||
'content' => 'upgrade-to-wp-mail-smtp-pro-button-link',
|
||||
@@ -123,28 +129,13 @@ class EmailReportsTab extends PageAbstract {
|
||||
<div class="wp-mail-smtp-product-education__row">
|
||||
<p class="wp-mail-smtp-product-education__description">
|
||||
<?php
|
||||
echo wp_kses(
|
||||
sprintf( /* translators: %s - WPMailSMTP.com page URL. */
|
||||
__( 'Email reports make it easy to track deliverability and engagement at-a-glance. Your open and click-through rates are grouped by subject line, making it easy to review the performance of campaigns or notifications. The report also displays Sent and Failed emails each week so you spot any issues quickly. When you upgrade, we\'ll also add an email report chart right in your WordPress dashboard. <a href="%s" target="_blank" rel="noopener noreferrer">Upgrade to WP Mail SMTP Pro!</a>', 'wp-mail-smtp' ),
|
||||
esc_url(
|
||||
wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'email-reports',
|
||||
'content' => 'upgrade-to-wp-mail-smtp-pro-text-link',
|
||||
]
|
||||
)
|
||||
)
|
||||
),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
'rel' => [],
|
||||
'target' => [],
|
||||
],
|
||||
]
|
||||
);
|
||||
esc_html_e( 'Email reports make it easy to track deliverability and engagement at-a-glance. Your open and click-through rates are grouped by subject line, making it easy to review the performance of campaigns or notifications. The report also displays Sent and Failed emails each week so you spot any issues quickly. When you upgrade, we\'ll also add an email report chart right in your WordPress dashboard.', 'wp-mail-smtp' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<a href="<?php echo esc_url( $top_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--top wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="wp-mail-smtp-product-education__row">
|
||||
@@ -180,7 +171,7 @@ class EmailReportsTab extends PageAbstract {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo esc_url( $button_upgrade_link ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<a href="<?php echo esc_url( $bottom_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--bottom wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -61,13 +61,18 @@ class ExportTab extends PageAbstract {
|
||||
*/
|
||||
public function display() {
|
||||
|
||||
$button_upgrade_link = wp_mail_smtp()->get_upgrade_link(
|
||||
$top_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'tools-export',
|
||||
'content' => 'upgrade-to-wp-mail-smtp-pro-button-top',
|
||||
]
|
||||
);
|
||||
$bottom_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'tools-export',
|
||||
'content' => 'upgrade-to-wp-mail-smtp-pro-button',
|
||||
]
|
||||
);
|
||||
|
||||
?>
|
||||
<div id="wp-mail-smtp-tools-export-email-logs-product-education" class="wp-mail-smtp-product-education">
|
||||
<div class="wp-mail-smtp-product-education__row">
|
||||
@@ -76,28 +81,13 @@ class ExportTab extends PageAbstract {
|
||||
</h4>
|
||||
<p class="wp-mail-smtp-product-education__description">
|
||||
<?php
|
||||
echo wp_kses(
|
||||
sprintf( /* translators: %s - WPMailSMTP.com Upgrade page URL. */
|
||||
__( 'Easily export your logs to CSV or Excel. Filter the logs before you export and only download the data you need. This feature lets you easily create your own deliverability reports. You can also use the data in 3rd party dashboards to track deliverability along with your other website statistics. <a href="%s" target="_blank" rel="noopener noreferrer">Upgrade to WP Mail SMTP Pro!</a>', 'wp-mail-smtp' ),
|
||||
esc_url(
|
||||
wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'tools-export',
|
||||
'content' => 'upgrade-to-wp-mail-smtp-pro-text-link',
|
||||
]
|
||||
)
|
||||
)
|
||||
),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
'rel' => [],
|
||||
'target' => [],
|
||||
],
|
||||
]
|
||||
);
|
||||
esc_html_e( 'Easily export your logs to CSV or Excel. Filter the logs before you export and only download the data you need. This feature lets you easily create your own deliverability reports. You can also use the data in 3rd party dashboards to track deliverability along with your other website statistics.', 'wp-mail-smtp' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<a href="<?php echo esc_url( $top_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--top wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="wp-mail-smtp-product-education__row wp-mail-smtp-product-education__row--inactive">
|
||||
@@ -152,7 +142,7 @@ class ExportTab extends PageAbstract {
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo esc_url( $button_upgrade_link ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<a href="<?php echo esc_url( $bottom_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--bottom wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -82,13 +82,13 @@ class LogsTab extends PageAbstract {
|
||||
|
||||
wp_enqueue_style(
|
||||
'wp-mail-smtp-admin-lity',
|
||||
wp_mail_smtp()->assets_url . '/libs/lity/lity.min.css',
|
||||
wp_mail_smtp()->assets_url . '/css/vendor/lity.min.css',
|
||||
[],
|
||||
'2.4.1'
|
||||
);
|
||||
wp_enqueue_script(
|
||||
'wp-mail-smtp-admin-lity',
|
||||
wp_mail_smtp()->assets_url . '/libs/lity/lity.min.js',
|
||||
wp_mail_smtp()->assets_url . '/js/vendor/lity.min.js',
|
||||
[],
|
||||
'2.4.1',
|
||||
false
|
||||
@@ -103,7 +103,16 @@ class LogsTab extends PageAbstract {
|
||||
*/
|
||||
public function display() {
|
||||
|
||||
$button_upgrade_link = add_query_arg(
|
||||
$top_upgrade_button_url = add_query_arg(
|
||||
[ 'discount' => 'LITEUPGRADE' ],
|
||||
wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'logs',
|
||||
'content' => 'Upgrade to Pro Button Top',
|
||||
]
|
||||
)
|
||||
);
|
||||
$bottom_upgrade_button_url = add_query_arg(
|
||||
[ 'discount' => 'LITEUPGRADE' ],
|
||||
wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
@@ -112,15 +121,6 @@ class LogsTab extends PageAbstract {
|
||||
]
|
||||
)
|
||||
);
|
||||
$link_upgrade_link = add_query_arg(
|
||||
[ 'discount' => 'LITEUPGRADE' ],
|
||||
wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'logs',
|
||||
'content' => 'upgrade-to-wp-mail-smtp-pro-text-link',
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$assets_url = wp_mail_smtp()->assets_url . '/images/logs/';
|
||||
$screenshots = [
|
||||
@@ -144,21 +144,13 @@ class LogsTab extends PageAbstract {
|
||||
</h4>
|
||||
<p class="wp-mail-smtp-product-education__description">
|
||||
<?php
|
||||
echo wp_kses(
|
||||
sprintf( /* translators: %s - WPMailSMTP.com page URL. */
|
||||
__( 'Email logging makes it easy to save details about all of the emails sent from your WordPress site. You can search and filter the email log to find specific messages and check the color-coded delivery status. Email logging also allows you to resend emails, save attachments, and export your logs in different formats. <a href="%s" target="_blank" rel="noopener noreferrer">Upgrade to WP Mail SMTP Pro!</a>', 'wp-mail-smtp' ),
|
||||
esc_url( $link_upgrade_link )
|
||||
),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
'rel' => [],
|
||||
'target' => [],
|
||||
],
|
||||
]
|
||||
);
|
||||
esc_html_e( 'Email logging makes it easy to save details about all of the emails sent from your WordPress site. You can search and filter the email log to find specific messages and check the color-coded delivery status. Email logging also allows you to resend emails, save attachments, and export your logs in different formats.', 'wp-mail-smtp' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<a href="<?php echo esc_url( $top_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--top wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="wp-mail-smtp-product-education__row">
|
||||
@@ -194,7 +186,7 @@ class LogsTab extends PageAbstract {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo esc_url( $button_upgrade_link ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<a href="<?php echo esc_url( $bottom_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--bottom wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -4,6 +4,7 @@ namespace WPMailSMTP\Admin\Pages;
|
||||
|
||||
use WPMailSMTP\Admin\Area;
|
||||
use WPMailSMTP\Admin\PageAbstract;
|
||||
use WPMailSMTP\Helpers\UI;
|
||||
use WPMailSMTP\Options;
|
||||
use WPMailSMTP\UsageTracking\UsageTracking;
|
||||
use WPMailSMTP\Reports\Emails\Summary as SummaryReportEmail;
|
||||
@@ -45,7 +46,8 @@ class MiscTab extends PageAbstract {
|
||||
* @return string
|
||||
*/
|
||||
public function get_title() {
|
||||
return $this->get_label();
|
||||
|
||||
return esc_html__( 'Miscellaneous', 'wp-mail-smtp' );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -62,27 +64,34 @@ class MiscTab extends PageAbstract {
|
||||
<?php $this->wp_nonce_field(); ?>
|
||||
|
||||
<!-- Section Title -->
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-content wp-mail-smtp-clear section-heading no-desc" id="wp-mail-smtp-setting-row-email-heading">
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-content wp-mail-smtp-clear section-heading wp-mail-smtp-section-heading--has-divider no-desc">
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<h2><?php echo $this->get_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Do not send -->
|
||||
<div id="wp-mail-smtp-setting-row-do_not_send" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
|
||||
<div id="wp-mail-smtp-setting-row-do_not_send" class="wp-mail-smtp-setting-row wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-do_not_send">
|
||||
<?php esc_html_e( 'Do Not Send', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<input name="wp-mail-smtp[general][do_not_send]" type="checkbox" value="true" id="wp-mail-smtp-setting-do_not_send"
|
||||
<?php echo $options->is_const_defined( 'general', 'do_not_send' ) ? 'disabled' : ''; ?>
|
||||
<?php checked( true, $options->get( 'general', 'do_not_send' ) ); ?>
|
||||
>
|
||||
<label for="wp-mail-smtp-setting-do_not_send">
|
||||
<?php esc_html_e( 'Stop sending all emails.', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[general][do_not_send]',
|
||||
'id' => 'wp-mail-smtp-setting-do_not_send',
|
||||
'value' => 'true',
|
||||
'checked' => (bool) $options->get( 'general', 'do_not_send' ),
|
||||
'disabled' => $options->is_const_defined( 'general', 'do_not_send' ),
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Stop sending all emails', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
<p class="desc">
|
||||
<?php
|
||||
printf(
|
||||
@@ -124,26 +133,32 @@ class MiscTab extends PageAbstract {
|
||||
</div>
|
||||
|
||||
<!-- Hide Announcements -->
|
||||
<div id="wp-mail-smtp-setting-row-am_notifications_hidden" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
|
||||
<div id="wp-mail-smtp-setting-row-am_notifications_hidden" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox-toggle wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-am_notifications_hidden">
|
||||
<?php esc_html_e( 'Hide Announcements', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<input name="wp-mail-smtp[general][am_notifications_hidden]" type="checkbox"
|
||||
value="true" <?php checked( true, $options->get( 'general', 'am_notifications_hidden' ) ); ?>
|
||||
id="wp-mail-smtp-setting-am_notifications_hidden"
|
||||
>
|
||||
<label for="wp-mail-smtp-setting-am_notifications_hidden">
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[general][am_notifications_hidden]',
|
||||
'id' => 'wp-mail-smtp-setting-am_notifications_hidden',
|
||||
'value' => 'true',
|
||||
'checked' => (bool) $options->get( 'general', 'am_notifications_hidden' ),
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Hide plugin announcements and update details.', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hide Email Delivery Errors -->
|
||||
<div id="wp-mail-smtp-setting-row-email_delivery_errors_hidden"
|
||||
class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
|
||||
class="wp-mail-smtp-setting-row wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-email_delivery_errors_hidden">
|
||||
<?php esc_html_e( 'Hide Email Delivery Errors', 'wp-mail-smtp' ); ?>
|
||||
@@ -153,18 +168,20 @@ class MiscTab extends PageAbstract {
|
||||
<?php
|
||||
$is_hard_disabled = has_filter( 'wp_mail_smtp_admin_is_error_delivery_notice_enabled' ) && ! wp_mail_smtp()->get_admin()->is_error_delivery_notice_enabled();
|
||||
?>
|
||||
<?php if ( $is_hard_disabled ) : ?>
|
||||
<input type="checkbox" disabled checked id="wp-mail-smtp-setting-email_delivery_errors_hidden">
|
||||
<?php else : ?>
|
||||
<input name="wp-mail-smtp[general][email_delivery_errors_hidden]" type="checkbox" value="true"
|
||||
<?php checked( true, $options->get( 'general', 'email_delivery_errors_hidden' ) ); ?>
|
||||
id="wp-mail-smtp-setting-email_delivery_errors_hidden">
|
||||
<?php endif; ?>
|
||||
|
||||
<label for="wp-mail-smtp-setting-email_delivery_errors_hidden">
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[general][email_delivery_errors_hidden]',
|
||||
'id' => 'wp-mail-smtp-setting-email_delivery_errors_hidden',
|
||||
'value' => 'true',
|
||||
'checked' => $is_hard_disabled || (bool) $options->get( 'general', 'email_delivery_errors_hidden' ),
|
||||
'disabled' => $is_hard_disabled,
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Hide warnings alerting of email delivery errors.', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
|
||||
</p>
|
||||
<?php if ( $is_hard_disabled ) : ?>
|
||||
<p class="desc">
|
||||
<?php
|
||||
@@ -190,74 +207,79 @@ class MiscTab extends PageAbstract {
|
||||
</div>
|
||||
|
||||
<!-- Hide Dashboard Widget -->
|
||||
<div id="wp-mail-smtp-setting-row-dashboard_widget_hidden" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
|
||||
<div id="wp-mail-smtp-setting-row-dashboard_widget_hidden" class="wp-mail-smtp-setting-row wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-dashboard_widget_hidden">
|
||||
<?php esc_html_e( 'Hide Dashboard Widget', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<input name="wp-mail-smtp[general][dashboard_widget_hidden]" type="checkbox"
|
||||
value="true" <?php checked( true, $options->get( 'general', 'dashboard_widget_hidden' ) ); ?>
|
||||
id="wp-mail-smtp-setting-dashboard_widget_hidden"
|
||||
>
|
||||
<label for="wp-mail-smtp-setting-dashboard_widget_hidden">
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[general][dashboard_widget_hidden]',
|
||||
'id' => 'wp-mail-smtp-setting-dashboard_widget_hidden',
|
||||
'value' => 'true',
|
||||
'checked' => (bool) $options->get( 'general', 'dashboard_widget_hidden' ),
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Hide the WP Mail SMTP Dashboard Widget.', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Uninstall -->
|
||||
<div id="wp-mail-smtp-setting-row-uninstall" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-uninstall">
|
||||
<?php esc_html_e( 'Uninstall WP Mail SMTP', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<input name="wp-mail-smtp[general][uninstall]" type="checkbox"
|
||||
value="true" <?php checked( true, $options->get( 'general', 'uninstall' ) ); ?>
|
||||
id="wp-mail-smtp-setting-uninstall">
|
||||
<label for="wp-mail-smtp-setting-uninstall">
|
||||
<?php esc_html_e( 'Remove ALL WP Mail SMTP data upon plugin deletion. All settings will be unrecoverable.', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ( apply_filters( 'wp_mail_smtp_admin_pages_misc_tab_show_usage_tracking_setting', true ) ) : ?>
|
||||
<!-- Usage Tracking -->
|
||||
<div id="wp-mail-smtp-setting-row-usage-tracking" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
|
||||
<div id="wp-mail-smtp-setting-row-usage-tracking" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox-toggle wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-usage-tracking">
|
||||
<?php esc_html_e( 'Allow Usage Tracking', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<input name="wp-mail-smtp[general][<?php echo esc_attr( UsageTracking::SETTINGS_SLUG ); ?>]" type="checkbox"
|
||||
value="true" <?php checked( true, $options->get( 'general', UsageTracking::SETTINGS_SLUG ) ); ?>
|
||||
id="wp-mail-smtp-setting-usage-tracking">
|
||||
<label for="wp-mail-smtp-setting-usage-tracking">
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[general][' . UsageTracking::SETTINGS_SLUG . ']',
|
||||
'id' => 'wp-mail-smtp-setting-usage-tracking',
|
||||
'value' => 'true',
|
||||
'checked' => (bool) $options->get( 'general', UsageTracking::SETTINGS_SLUG ),
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'By allowing us to track usage data we can better help you because we know with which WordPress configurations, themes and plugins we should test.', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Summary Report Email -->
|
||||
<div id="wp-mail-smtp-setting-row-summary-report-email" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-checkbox wp-mail-smtp-clear">
|
||||
<div id="wp-mail-smtp-setting-row-summary-report-email" class="wp-mail-smtp-setting-row wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-summary-report-email">
|
||||
<?php esc_html_e( 'Disable Email Summaries', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<input name="wp-mail-smtp[general][<?php echo esc_attr( SummaryReportEmail::SETTINGS_SLUG ); ?>]" type="checkbox" id="wp-mail-smtp-setting-summary-report-email"
|
||||
value="true" <?php checked( true, SummaryReportEmail::is_disabled() ); ?>
|
||||
<?php disabled( $options->is_const_defined( 'general', SummaryReportEmail::SETTINGS_SLUG ) || ( wp_mail_smtp()->is_pro() && empty( Options::init()->get( 'logs', 'enabled' ) ) ) ); ?>>
|
||||
<label for="wp-mail-smtp-setting-summary-report-email">
|
||||
<?php esc_html_e( 'Disable Email Summaries weekly delivery.', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[general][' . SummaryReportEmail::SETTINGS_SLUG . ']',
|
||||
'id' => 'wp-mail-smtp-setting-summary-report-email',
|
||||
'value' => 'true',
|
||||
'checked' => (bool) SummaryReportEmail::is_disabled(),
|
||||
'disabled' => (
|
||||
$options->is_const_defined( 'general', SummaryReportEmail::SETTINGS_SLUG ) ||
|
||||
( wp_mail_smtp()->is_pro() && empty( Options::init()->get( 'logs', 'enabled' ) ) )
|
||||
),
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Disable Email Summaries weekly delivery.', 'wp-mail-smtp' ); ?>
|
||||
<?php
|
||||
if ( wp_mail_smtp()->is_pro() && empty( Options::init()->get( 'logs', 'enabled' ) ) ) {
|
||||
echo wp_kses(
|
||||
@@ -287,6 +309,33 @@ class MiscTab extends PageAbstract {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Uninstall -->
|
||||
<div id="wp-mail-smtp-setting-row-uninstall" class="wp-mail-smtp-setting-row wp-mail-smtp-clear">
|
||||
<div class="wp-mail-smtp-setting-label">
|
||||
<label for="wp-mail-smtp-setting-uninstall">
|
||||
<?php esc_html_e( 'Uninstall WP Mail SMTP', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[general][uninstall]',
|
||||
'id' => 'wp-mail-smtp-setting-uninstall',
|
||||
'value' => 'true',
|
||||
'checked' => (bool) $options->get( 'general', 'uninstall' ),
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Remove ALL WP Mail SMTP data upon plugin deletion.', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
<p class="desc wp-mail-smtp-danger">
|
||||
<?php esc_html_e( 'All settings will be unrecoverable.', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $this->display_save_btn(); ?>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -81,7 +81,7 @@ class SettingsTab extends PageAbstract {
|
||||
</div>
|
||||
|
||||
<!-- Mail Section Title -->
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-content wp-mail-smtp-clear section-heading no-desc" id="wp-mail-smtp-setting-row-email-heading">
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-content wp-mail-smtp-clear section-heading no-desc">
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<h2><?php esc_html_e( 'Primary Connection', 'wp-mail-smtp' ); ?></h2>
|
||||
</div>
|
||||
@@ -256,21 +256,22 @@ class SettingsTab extends PageAbstract {
|
||||
|
||||
<div class="benefits">
|
||||
<ul>
|
||||
<li><?php esc_html_e( 'Manage Notifications - control which emails your site sends', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Email Logging - keep track of every email sent from your site', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Multisite Support - Network settings for easy management', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Office 365 - send emails using your Office 365 account', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Alerts - get notified when your emails fail (via email, slack or SMS)', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Backup Connection - send emails even if your primary connection fails', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Smart Routing - define conditions for your email sending', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Amazon SES - harness the power of AWS', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Outlook.com - send emails using your Outlook.com account', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Zoho Mail - use your Zoho Mail account', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Outlook - send emails using your Outlook or Microsoft 365 account', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Zoho Mail - use your Zoho Mail account to send emails', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Multisite Support - network settings for easy management', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Manage Notifications - control which emails your site sends', 'wp-mail-smtp' ); ?></li>
|
||||
<li><?php esc_html_e( 'Access to our world class support team', 'wp-mail-smtp' ); ?></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><?php esc_html_e( 'White Glove Setup - sit back and relax while we handle everything for you', 'wp-mail-smtp' ); ?></li>
|
||||
<li class="arrow-right"><?php esc_html_e( 'Install WP Mail SMTP Pro plugin', 'wp-mail-smtp' ); ?></li>
|
||||
<li class="arrow-right"><?php esc_html_e( 'Install & Setup WP Mail SMTP Pro plugin', 'wp-mail-smtp' ); ?></li>
|
||||
<li class="arrow-right"><?php esc_html_e( 'Configure SendLayer, SMTP.com or Brevo service', 'wp-mail-smtp' ); ?></li>
|
||||
<li class="arrow-right"><?php esc_html_e( 'Set up domain name verification (DNS)', 'wp-mail-smtp' ); ?></li>
|
||||
<li class="arrow-right"><?php esc_html_e( 'Configure SMTP.com or Mailgun service', 'wp-mail-smtp' ); ?></li>
|
||||
<li class="arrow-right"><?php esc_html_e( 'Set up WP Mail SMTP Pro plugin', 'wp-mail-smtp' ); ?></li>
|
||||
<li class="arrow-right"><?php esc_html_e( 'Test and verify email delivery', 'wp-mail-smtp' ); ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
namespace WPMailSMTP\Admin\Pages;
|
||||
|
||||
use WPMailSMTP\Admin\PageAbstract;
|
||||
use WPMailSMTP\Helpers\UI;
|
||||
use WPMailSMTP\WP;
|
||||
|
||||
/**
|
||||
@@ -82,20 +83,18 @@ class SmartRoutingTab extends PageAbstract {
|
||||
*/
|
||||
public function display() {
|
||||
|
||||
$upgrade_link_url = wp_mail_smtp()->get_upgrade_link(
|
||||
$top_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'Smart Routing Settings',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Link',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Button Top',
|
||||
]
|
||||
);
|
||||
|
||||
$upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
$bottom_upgrade_button_url = wp_mail_smtp()->get_upgrade_link(
|
||||
[
|
||||
'medium' => 'Smart Routing Settings',
|
||||
'content' => 'Upgrade to WP Mail SMTP Pro Button',
|
||||
]
|
||||
);
|
||||
|
||||
?>
|
||||
<div id="wp-mail-smtp-smart-routing-product-education" class="wp-mail-smtp-product-education">
|
||||
<div class="wp-mail-smtp-product-education__row wp-mail-smtp-product-education__row--no-border">
|
||||
@@ -104,33 +103,25 @@ class SmartRoutingTab extends PageAbstract {
|
||||
</h4>
|
||||
<p class="wp-mail-smtp-product-education__description">
|
||||
<?php
|
||||
echo wp_kses(
|
||||
sprintf( /* translators: %s - WPMailSMTP.com Upgrade page URL. */
|
||||
__( 'Send emails from different additional connections based on your configured conditions. Emails that do not match any of the conditions below will be sent via your Primary Connection. <a href="%s" target="_blank" rel="noopener noreferrer">Upgrade to WP Mail SMTP Pro!</a>', 'wp-mail-smtp' ),
|
||||
esc_url( $upgrade_link_url )
|
||||
),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
'rel' => [],
|
||||
'target' => [],
|
||||
],
|
||||
]
|
||||
);
|
||||
esc_html_e( 'Send emails from different additional connections based on your configured conditions. Emails that do not match any of the conditions below will be sent via your Primary Connection.', 'wp-mail-smtp' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<a href="<?php echo esc_url( $top_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--top wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-product-education__row wp-mail-smtp-product-education__row--inactive wp-mail-smtp-product-education__row--no-border wp-mail-smtp-product-education__row--no-padding wp-mail-smtp-product-education__row--full-width">
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-no-border">
|
||||
<div class="wp-mail-smtp-smart-routing-enable-toggle">
|
||||
<label class="wp-mail-smtp-setting-toggle">
|
||||
<input type="checkbox" class="wp-mail-smtp-smart-routing-enabled" checked/>
|
||||
<span class="wp-mail-smtp-setting-toggle__switch"></span>
|
||||
</label>
|
||||
<label class="wp-mail-smtp-smart-routing-enable-toggle__label">
|
||||
<?php esc_html_e( 'Enable Smart Routing', 'wp-mail-smtp' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'label' => esc_html__( 'Enable Smart Routing', 'wp-mail-smtp' ),
|
||||
'class' => 'wp-mail-smtp-smart-routing-toggle',
|
||||
'checked' => true,
|
||||
]
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-no-border wp-mail-smtp-setting-row-no-padding">
|
||||
<div class="wp-mail-smtp-smart-routing-routes">
|
||||
@@ -313,7 +304,7 @@ class SmartRoutingTab extends PageAbstract {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo esc_url( $upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<a href="<?php echo esc_url( $bottom_upgrade_button_url ); ?>" target="_blank" rel="noopener noreferrer" class="wp-mail-smtp-product-education__upgrade-btn wp-mail-smtp-product-education__upgrade-btn--bottom wp-mail-smtp-btn wp-mail-smtp-btn-upgrade wp-mail-smtp-btn-orange">
|
||||
<?php esc_html_e( 'Upgrade to WP Mail SMTP Pro', 'wp-mail-smtp' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -10,6 +10,7 @@ use WPMailSMTP\MailCatcherInterface;
|
||||
use WPMailSMTP\Options;
|
||||
use WPMailSMTP\WP;
|
||||
use WPMailSMTP\Admin\PageAbstract;
|
||||
use WPMailSMTP\Helpers\UI;
|
||||
|
||||
/**
|
||||
* Class TestTab is part of Area, displays email testing page of the plugin.
|
||||
@@ -180,12 +181,15 @@ class TestTab extends PageAbstract {
|
||||
<label for="wp-mail-smtp-setting-test_email_html"><?php esc_html_e( 'HTML', 'wp-mail-smtp' ); ?></label>
|
||||
</div>
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<label for="wp-mail-smtp-setting-test_email_html">
|
||||
<input type="checkbox" id="wp-mail-smtp-setting-test_email_html" name="wp-mail-smtp[test][html]" value="yes" checked/>
|
||||
<span class="wp-mail-smtp-setting-toggle-switch"></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-checked-label"><?php esc_html_e( 'On', 'wp-mail-smtp' ); ?></span>
|
||||
<span class="wp-mail-smtp-setting-toggle-unchecked-label"><?php esc_html_e( 'Off', 'wp-mail-smtp' ); ?></span>
|
||||
</label>
|
||||
<?php
|
||||
UI::toggle(
|
||||
[
|
||||
'name' => 'wp-mail-smtp[test][html]',
|
||||
'id' => 'wp-mail-smtp-setting-test_email_html',
|
||||
'checked' => true,
|
||||
]
|
||||
);
|
||||
?>
|
||||
<p class="desc">
|
||||
<?php esc_html_e( 'Send this email in HTML or in plain text format.', 'wp-mail-smtp' ); ?>
|
||||
</p>
|
||||
@@ -244,7 +248,7 @@ class TestTab extends PageAbstract {
|
||||
|
||||
?>
|
||||
<!-- Test Email Section Title -->
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-content wp-mail-smtp-clear section-heading no-desc" id="wp-mail-smtp-setting-row-email-heading">
|
||||
<div class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-content wp-mail-smtp-clear section-heading no-desc wp-mail-smtp-section-heading--has-divider">
|
||||
<div class="wp-mail-smtp-setting-field">
|
||||
<h2><?php esc_html_e( 'Send a Test Email', 'wp-mail-smtp' ); ?></h2>
|
||||
</div>
|
||||
@@ -422,6 +426,14 @@ class TestTab extends PageAbstract {
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>WP Mail SMTP Test Email</title>
|
||||
<style type="text/css">@media only screen and (max-width: 599px) {table.body .container {width: 95% !important;}.header {padding: 15px 15px 12px 15px !important;}.header img {width: 200px !important;height: auto !important;}.content, .aside {padding: 30px 40px 20px 40px !important;}}</style>
|
||||
<?php
|
||||
/**
|
||||
* Fires in the HTML test email head.
|
||||
*
|
||||
* @since 3.10.0
|
||||
*/
|
||||
do_action( 'wp_mail_smtp_admin_pages_test_tab_get_email_message_html_head' );
|
||||
?>
|
||||
</head>
|
||||
<body style="height: 100% !important; width: 100% !important; min-width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; margin: 0; Margin: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; background-color: #f1f1f1; text-align: center;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="body" style="border-collapse: collapse; border-spacing: 0; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; height: 100% !important; width: 100% !important; min-width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important; background-color: #f1f1f1; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; margin: 0; Margin: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%;">
|
||||
@@ -437,69 +449,83 @@ class TestTab extends PageAbstract {
|
||||
</tr>
|
||||
<!-- Content -->
|
||||
<tr style="padding: 0; vertical-align: top; text-align: left;">
|
||||
<td align="left" valign="top" class="content" style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; background-color: #ffffff; padding: 60px 75px 45px 75px; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 1px solid #ddd; border-top: 3px solid #809eb0;">
|
||||
<div class="success" style="text-align: center;">
|
||||
<p class="check" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; margin: 0 auto 16px auto; Margin: 0 auto 16px auto; text-align: center;">
|
||||
<img src="<?php echo esc_url( wp_mail_smtp()->plugin_url . '/assets/images/email/icon-check.png' ); ?>" width="70" alt="Success" style="outline: none; text-decoration: none; max-width: 100%; clear: both; -ms-interpolation-mode: bicubic; display: block; margin: 0 auto 0 auto; Margin: 0 auto 0 auto; width: 50px;">
|
||||
</p>
|
||||
<p class="text-extra-large text-center congrats" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; mso-line-height-rule: exactly; line-height: 140%; font-size: 20px; text-align: center; margin: 0 0 20px 0; Margin: 0 0 20px 0;">
|
||||
Congrats, test email was sent successfully!
|
||||
</p>
|
||||
<p class="text-large" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; text-align: left; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0; font-size: 16px;">
|
||||
Thank you for trying out WP Mail SMTP. We're on a mission to make sure that your emails actually get delivered.
|
||||
</p>
|
||||
<td align="left" valign="top" style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; background-color: #ffffff; padding: 0; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 1px solid #ddd; border-top: 3px solid #809eb0;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-spacing: 0; padding: 0; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; margin: 0; Margin: 0; text-align: inherit;">
|
||||
<tr style="padding: 0; vertical-align: top; text-align: left;">
|
||||
<td class="content" style="padding: 60px 75px 45px 75px;">
|
||||
<div class="success" style="text-align: center;">
|
||||
<p class="check" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; margin: 0 auto 16px auto; Margin: 0 auto 16px auto; text-align: center;">
|
||||
<img src="<?php echo esc_url( wp_mail_smtp()->plugin_url . '/assets/images/email/icon-check.png' ); ?>" width="70" alt="Success" style="outline: none; text-decoration: none; max-width: 100%; clear: both; -ms-interpolation-mode: bicubic; display: block; margin: 0 auto 0 auto; Margin: 0 auto 0 auto; width: 50px;">
|
||||
</p>
|
||||
<p class="text-extra-large text-center congrats" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; mso-line-height-rule: exactly; line-height: 140%; font-size: 20px; text-align: center; margin: 0 0 20px 0; Margin: 0 0 20px 0;">
|
||||
Congrats, test email was sent successfully!
|
||||
</p>
|
||||
<p class="text-large" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; text-align: left; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0; font-size: 16px;">
|
||||
Thank you for trying out WP Mail SMTP. We're on a mission to make sure that your emails actually get delivered.
|
||||
</p>
|
||||
<?php if ( ! wp_mail_smtp()->is_pro() ) : ?>
|
||||
<p class="text-large" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; text-align: left; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0; font-size: 16px;">
|
||||
If you find this free plugin useful, please consider giving WP Mail SMTP Pro a try!
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<p class="signature" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; text-align: left; margin: 20px 0 0 0; Margin: 20px 0 0 0;">
|
||||
<img src="<?php echo esc_url( wp_mail_smtp()->plugin_url . '/assets/images/email/signature.png' ); ?>" width="180" alt="Signature" style="outline: none; text-decoration: none; max-width: 100%; clear: both; -ms-interpolation-mode: bicubic; width: 180px; display: block; margin: 0 0 0 0; Margin: 0 0 0 0;">
|
||||
</p>
|
||||
<p style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0;">
|
||||
Jared Atchison<br>Co-Founder, WP Mail SMTP
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Aside -->
|
||||
<?php if ( ! wp_mail_smtp()->is_pro() ) : ?>
|
||||
<p class="text-large" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; text-align: left; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0; font-size: 16px;">
|
||||
If you find this free plugin useful, please consider giving WP Mail SMTP Pro a try!
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<p class="signature" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; text-align: left; margin: 20px 0 0 0; Margin: 20px 0 0 0;">
|
||||
<img src="<?php echo esc_url( wp_mail_smtp()->plugin_url . '/assets/images/email/signature.png' ); ?>" width="180" alt="Signature" style="outline: none; text-decoration: none; max-width: 100%; clear: both; -ms-interpolation-mode: bicubic; width: 180px; display: block; margin: 0 0 0 0; Margin: 0 0 0 0;">
|
||||
</p>
|
||||
<p style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0;">
|
||||
Jared Atchison<br>Co-Founder, WP Mail SMTP
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Aside -->
|
||||
<?php if ( ! wp_mail_smtp()->is_pro() ) : ?>
|
||||
<tr style="padding: 0; vertical-align: top; text-align: left;">
|
||||
<td align="left" valign="top" class="aside upsell-mi" style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; background-color: #f8f8f8; border-top: 1px solid #dddddd; border-right: 1px solid #dddddd; border-bottom: 1px solid #dddddd; border-left: 1px solid #dddddd; text-align: center !important; padding: 30px 75px 25px 75px;">
|
||||
<h6 style="padding: 0; color: #444444; word-wrap: normal; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: bold; mso-line-height-rule: exactly; line-height: 130%; font-size: 18px; text-align: center; margin: 0 0 15px 0; Margin: 0 0 15px 0;">
|
||||
Unlock Powerful Features with WP Mail SMTP Pro
|
||||
</h6>
|
||||
<p class="text-large" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0; font-size: 16px; text-align: center;">
|
||||
Email Logging and Exporting<br>
|
||||
Amazon SES / Microsoft 365 / Zoho Mail<br>
|
||||
Open and Click Tracking<br>
|
||||
Email Resending<br>
|
||||
Email Reports<br>
|
||||
World-Class Support
|
||||
</p>
|
||||
<p class="text-large last" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; mso-line-height-rule: exactly; line-height: 140%; font-size: 13px; text-align: center; margin: 0 0 0 0; Margin: 0 0 0 0;">
|
||||
WP Mail SMTP users get <span style="font-weight:700;color:#218900;">$50 off</span>, automatically applied at checkout
|
||||
</p>
|
||||
<center style="width: 100%;">
|
||||
<table class="button large expanded orange" style="border-collapse: collapse; border-spacing: 0; padding: 0; vertical-align: top; text-align: left; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #e27730; width: 100% !important;">
|
||||
<tr style="padding: 0; vertical-align: top; text-align: left;">
|
||||
<td class="button-inner" style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 100%; padding: 20px 0 20px 0;">
|
||||
<table style="border-collapse: collapse; border-spacing: 0; padding: 0; vertical-align: top; text-align: left; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; width: 100% !important;">
|
||||
<tr style="padding: 0; vertical-align: top; text-align: left;">
|
||||
<td align="left" valign="top" class="aside upsell-mi" style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; background-color: #f8f8f8; border-top: 1px solid #dddddd; text-align: center !important; padding: 30px 75px 25px 75px;">
|
||||
<h6 style="padding: 0; color: #444444; word-wrap: normal; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: bold; mso-line-height-rule: exactly; line-height: 130%; font-size: 18px; text-align: center; margin: 0 0 15px 0; Margin: 0 0 15px 0;">
|
||||
Unlock Powerful Features with WP Mail SMTP Pro
|
||||
</h6>
|
||||
<p class="text-large" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; mso-line-height-rule: exactly; line-height: 140%; margin: 0 0 15px 0; Margin: 0 0 15px 0; font-size: 16px; text-align: center;">
|
||||
Email Logging with Email Resending<br>
|
||||
Open & Click Tracking<br>
|
||||
Email Reports with Weekly Summary<br>
|
||||
Backup Mailer<br>
|
||||
Failed Email Alerts via Email, Slack, and SMS<br>
|
||||
World-Class Support
|
||||
</p>
|
||||
<p class="text-large last" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; mso-line-height-rule: exactly; line-height: 140%; font-size: 13px; text-align: center; margin: 0 0 0 0; Margin: 0 0 0 0;">
|
||||
WP Mail SMTP users get <span style="font-weight:700;color:#218900;">$50 off</span>, automatically applied at checkout
|
||||
</p>
|
||||
<center style="width: 100%;">
|
||||
<table class="button large expanded orange" style="border-collapse: collapse; border-spacing: 0; padding: 0; vertical-align: top; text-align: left; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #e27730; width: 100% !important;">
|
||||
<tr style="padding: 0; vertical-align: top; text-align: left;">
|
||||
<td style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; margin: 0; Margin: 0; font-size: 14px; text-align: center; color: #ffffff; background: #e27730; border: 1px solid #c45e1b; border-bottom: 3px solid #c45e1b; mso-line-height-rule: exactly; line-height: 100%;">
|
||||
<a href="<?php echo esc_url( wp_mail_smtp()->get_upgrade_link( 'email-test' ) ); ?>" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; margin: 0; Margin: 0; font-family: Helvetica, Arial, sans-serif; font-weight: bold; color: #ffffff; text-decoration: none; display: inline-block; border: 0 solid #c45e1b; mso-line-height-rule: exactly; line-height: 100%; padding: 14px 20px 12px 20px; font-size: 20px; text-align: center; width: 100%; padding-left: 0; padding-right: 0;">
|
||||
Upgrade to Pro Today
|
||||
</a>
|
||||
<td class="button-inner" style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 100%; padding: 20px 0 20px 0;">
|
||||
<table style="border-collapse: collapse; border-spacing: 0; padding: 0; vertical-align: top; text-align: left; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; width: 100% !important;">
|
||||
<tr style="padding: 0; vertical-align: top; text-align: left;">
|
||||
<td style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; margin: 0; Margin: 0; font-size: 14px; text-align: center; color: #ffffff; background: #e27730; border: 1px solid #c45e1b; border-bottom: 3px solid #c45e1b; mso-line-height-rule: exactly; line-height: 100%;">
|
||||
<a href="<?php echo esc_url( wp_mail_smtp()->get_upgrade_link( 'email-test' ) ); ?>" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; margin: 0; Margin: 0; font-family: Helvetica, Arial, sans-serif; font-weight: bold; color: #ffffff; text-decoration: none; display: inline-block; border: 0 solid #c45e1b; mso-line-height-rule: exactly; line-height: 100%; padding: 14px 20px 12px 20px; font-size: 20px; text-align: center; width: 100%; padding-left: 0; padding-right: 0;">
|
||||
Upgrade to Pro Today
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
/**
|
||||
* Fires in the HTML test email footer.
|
||||
*
|
||||
* @since 3.10.0
|
||||
*/
|
||||
do_action( 'wp_mail_smtp_admin_pages_test_tab_get_email_message_html_footer' );
|
||||
?>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -547,11 +573,11 @@ https://wpmailsmtp.com/lite-upgrade/
|
||||
|
||||
Unlock These Powerful Features with WP Mail SMTP Pro:
|
||||
|
||||
+ Log all emails and export your email logs in different formats
|
||||
+ Send emails with Amazon SES / Microsoft 365 / Zoho Mail
|
||||
+ Track opens and clicks to measure engagement
|
||||
+ Resend failed emails from your email log
|
||||
+ Create email reports and graphs
|
||||
+ Log all emails and resend failed emails from your email log
|
||||
+ Track opens and clicks to measure the engagement
|
||||
+ Get email reports with a weekly summary of your email activity
|
||||
+ Use a backup mailer if your mail service goes down
|
||||
+ Get notified of failed emails via email, Slack, or SMS
|
||||
+ Get help from our world-class support team
|
||||
|
||||
- Jared Atchison
|
||||
@@ -814,7 +840,7 @@ Co-Founder, WP Mail SMTP';
|
||||
esc_html__( 'Typically this error is returned when you are sending too many e-mails or e-mails that have been identified as spam.', 'wp-mail-smtp' ),
|
||||
],
|
||||
'steps' => [
|
||||
esc_html__( 'Check the emails that are sending are sending individually. Example: email is not sending to 30 recipients. You can install any WordPress e-mail logging plugin to do that.', 'wp-mail-smtp' ),
|
||||
esc_html__( 'Make sure you are not sending emails with too many recipients. Example: single email should not have 10+ recipients. You can install any WordPress e-mail logging plugin to check your recipients (TO, CC and BCC).', 'wp-mail-smtp' ),
|
||||
esc_html__( 'Contact your SMTP host to ask about sending/rate limits.', 'wp-mail-smtp' ),
|
||||
esc_html__( 'Verify with them your SMTP account is in good standing and your account has not been flagged.', 'wp-mail-smtp' ),
|
||||
],
|
||||
@@ -938,12 +964,12 @@ Co-Founder, WP Mail SMTP';
|
||||
],
|
||||
'title' => esc_html__( 'Mailgun failed.', 'wp-mail-smtp' ),
|
||||
'description' => [
|
||||
esc_html__( 'Typically this error occurs because there is an issue with your Mailgun settings, in many cases Private API Key, Domain Name, or Region is incorrect.', 'wp-mail-smtp' ),
|
||||
esc_html__( 'Typically this error occurs because there is an issue with your Mailgun settings, in many cases Mailgun API Key, Domain Name, or Region is incorrect.', 'wp-mail-smtp' ),
|
||||
],
|
||||
'steps' => [
|
||||
sprintf(
|
||||
wp_kses( /* translators: %1$s - Mailgun API Key area URL. */
|
||||
__( 'Go to your Mailgun account and verify that your <a href="%1$s" target="_blank" rel="noopener noreferrer">Private API Key</a> is correct.', 'wp-mail-smtp' ),
|
||||
__( 'Go to your Mailgun account and verify that your <a href="%1$s" target="_blank" rel="noopener noreferrer">Mailgun API Key</a> is correct.', 'wp-mail-smtp' ),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
@@ -952,7 +978,7 @@ Co-Founder, WP Mail SMTP';
|
||||
],
|
||||
]
|
||||
),
|
||||
'https://app.mailgun.com/app/account/security/api_keys'
|
||||
'https://app.mailgun.com/settings/api_security'
|
||||
),
|
||||
sprintf(
|
||||
wp_kses( /* translators: %1$s - Mailgun domains area URL. */
|
||||
@@ -1033,7 +1059,7 @@ Co-Founder, WP Mail SMTP';
|
||||
. '<li>' .
|
||||
sprintf(
|
||||
wp_kses( /* translators: %s - Google support article URL. */
|
||||
__( 'if you are using G Suite, please <a href="%s" target="_blank" rel="noopener noreferrer">read this article</a> to proceed.', 'wp-mail-smtp' ),
|
||||
__( 'if you are using Google Workspace, please <a href="%s" target="_blank" rel="noopener noreferrer">read this article</a> to proceed.', 'wp-mail-smtp' ),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
@@ -1124,8 +1150,8 @@ Co-Founder, WP Mail SMTP';
|
||||
],
|
||||
'steps' => [
|
||||
sprintf(
|
||||
wp_kses( /* translators: %s - Google G Suite Admin area URL. */
|
||||
__( 'Make sure that your G Suite trial period has not expired. You can check the status <a href="%s" target="_blank" rel="noopener noreferrer">here</a>.', 'wp-mail-smtp' ),
|
||||
wp_kses( /* translators: %s - Google Workspace Admin area URL. */
|
||||
__( 'Make sure that your Google Workspace trial period has not expired. You can check the status <a href="%s" target="_blank" rel="noopener noreferrer">here</a>.', 'wp-mail-smtp' ),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
@@ -1137,8 +1163,8 @@ Co-Founder, WP Mail SMTP';
|
||||
'https://admin.google.com'
|
||||
),
|
||||
sprintf(
|
||||
wp_kses( /* translators: %s - Google G Suite Admin area URL. */
|
||||
__( 'Make sure that Gmail app in your G Suite is actually enabled. You can check that in Apps list in <a href="%s" target="_blank" rel="noopener noreferrer">G Suite Admin</a> area.', 'wp-mail-smtp' ),
|
||||
wp_kses( /* translators: %s - Google Workspace Admin area URL. */
|
||||
__( 'Make sure that Gmail app in your Google Workspace is actually enabled. You can check that in Apps list in <a href="%s" target="_blank" rel="noopener noreferrer">Google Workspace Admin</a> area.', 'wp-mail-smtp' ),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
@@ -1357,7 +1383,7 @@ Co-Founder, WP Mail SMTP';
|
||||
. '</ul>',
|
||||
],
|
||||
'steps' => [
|
||||
esc_html__( 'Triple check the plugin settings, consider reconfiguring to make sure everything is correct (eg bad copy and paste).', 'wp-mail-smtp' ),
|
||||
esc_html__( 'Triple-check the plugin settings and consider reconfiguring to make sure everything is correct. Maybe there was an issue with copy&pasting.', 'wp-mail-smtp' ),
|
||||
wp_kses(
|
||||
__( 'Contact your web hosting provider and ask them to verify your server can make outside connections. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports.<br><strong>Note: this is the most common cause of this issue.</strong>', 'wp-mail-smtp' ),
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user