SparkPost is a transactional email provider that\'s trusted by big brands and small businesses. It sends more than 4 trillion emails each year and reports 99.9%% uptime. You can get started with the free test account that lets you send up to 500 emails per month.', 'wp-mail-smtp' ) . '

' . /* translators: %2$s - URL to wpmailsmtp.com doc. */ __( 'To get started, read our SparkPost documentation.', 'wp-mail-smtp' ), [ 'br' => true, 'a' => [ 'href' => true, 'rel' => true, 'target' => true, ], ] ), 'https://www.sparkpost.com/', esc_url( wp_mail_smtp()->get_utm_url( 'https://wpmailsmtp.com/docs/how-to-set-up-the-sparkpost-mailer-in-wp-mail-smtp/', 'SparkPost documentation' ) ) ); parent::__construct( [ 'logo_url' => wp_mail_smtp()->assets_url . '/images/providers/sparkpost.svg', 'slug' => self::SLUG, 'title' => esc_html__( 'SparkPost', 'wp-mail-smtp' ), 'php' => '5.6', 'description' => $description, 'supports' => [ 'from_email' => true, 'from_name' => true, 'return_path' => false, 'from_email_force' => true, 'from_name_force' => true, ], 'recommended' => false, ], $connection ); } /** * Output the mailer provider options. * * @since 3.2.0 */ public function display_options() { // Do not display options if PHP version is not correct. if ( ! $this->is_php_correct() ) { $this->display_php_warning(); return; } ?>
connection_options->is_const_defined( $this->get_slug(), 'api_key' ) ) : ?> display_const_set_message( 'WPMS_SPARKPOST_API_KEY' ); ?> get_slug(); $value = $this->connection_options->get( $this->get_slug(), 'api_key' ); UI::hidden_password_field( [ 'name' => "wp-mail-smtp[{$slug}][api_key]", 'id' => "wp-mail-smtp-setting-{$slug}-api_key", 'value' => $value, 'clear_text' => esc_html__( 'Remove API Key', 'wp-mail-smtp' ), ] ); ?>

connection_options->get( $this->get_slug(), 'region' ) === 'EU' ? 'eu.' . $url : $url; $url = 'https://app.' . $url . '/account/api-keys'; printf( /* translators: %s - API Key link. */ esc_html__( 'Follow this link to get an API Key from SparkPost: %s.', 'wp-mail-smtp' ), '' . esc_html__( 'Get API Key', 'wp-mail-smtp' ) . '' ); ?>

connection_options->is_const_defined( $this->get_slug(), 'region' ) ) { $this->display_const_set_message( 'WPMS_SPARKPOST_REGION' ); } ?>

More information on SparkPost.', 'wp-mail-smtp' ), [ 'a' => [ 'href' => [], 'rel' => [], 'target' => [], ], ] ), 'https://www.sparkpost.com/docs/getting-started/getting-started-sparkpost' ); ?>