Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WordPress plugin to use SparkPost email

NotificationsYou must be signed in to change notification settings

SparkPost/wordpress-sparkpost

Repository files navigation

Use SparkPost emails right from your WordPress site.

Travis CICoverage Status

Installation

Option 1

  • Download the plugin fromWordPress's plugins repository.
  • Upload to plugins directory of your WordPress installation which, usually, iswp-content/plugins.
  • Activate the plugin from admin panel.

Option 2

  • From your WordPress site's admin panel go toPlugins -> Add New.
  • Entersparkpost inSearch Plugins text field and hit Enter.
  • It should show pluging titledSparkPost SMTP. ClickInstall Now button.
  • In next page, upon successful downloading clickActivate Plugin.

Configuration

Once plugin is installed, you need some quickbut important configuration. ClickSparkPost SMTP from Settings menu

  • In the form put SparkPost API key, sender name and email.
  • ClickSave Changes

Test Email

From Test Email section, try sending a test email to yourself to make sure the credentials are working fine.

Development

  • Install WordPress
  • Clone this repository to the WordPress plugins directory:
git clone git@github.com:SparkPost/wordpress-sparkpost.git ~/src/wordpress/wp-content/plugins/wordpress-sparkpost
  • Activate the plugin from admin panel

Running Tests

  • Make sure you're using PHP 5.6 or above.
  • Go to./tests directory.
  • Install test files by runningbash bin/install-wp-tests.sh wordpress_test root '' localhost latest (Try127.0.0.1 instead oflocalhost if you're getting error). Details onwp-cli.org.
  • Install composer
  • Runcomposer install to install required packages.
  • To run tests, runcomposer test.
  • Add your tests intests/specs directory. Upon pushing the branch, Travis will automatically run it and generate reports (tests and coverage).

Releasing

  • Create a branch off master:git checkout -b bump
  • Update the version in plugin meta andWPSP_PLUGIN_VERSION constant inwordpress-sparkpost.php
  • Update the version and change log inreadme.txt
  • Commit the changes and push the branch
  • Create a pull request
  • Once the pull request is merged, run./deploy.sh

[8]ページ先頭

©2009-2026 Movatter.jp