WordPress.org

Plugin Directory

SendGrid

Send emails throught Sendgrid from your WordPress installation using SMTP or API integration.

Requirements:

  1. PHP version >= 5.3.0
  2. You need to have PHP-curl extension enabled in order to send attachments.
  3. To send emails through SMTP you need to install also the 'Swift Mailer' plugin.

To upload the SendGrid Plugin .ZIP file:

  1. Upload the WordPress SendGrid Plugin to the /wp-contents/plugins/ folder.
  2. Activate the plugin from the "Plugins" menu in WordPress.
  3. Create a SendGrid account at http://sendgrid.com/partner/wordpress
  4. Navigate to "Settings" -> "SendGrid Settings" and enter your SendGrid credentials

To auto install the SendGrid Plugin from the WordPress admin:

  1. Navigate to "Plugins" -> "Add New"
  2. Search for "SendGrid Plugin" and click "Install Now" for the "SendGrid Plugin" listing
  3. Activate the plugin from the "Plugins" menu in WordPress, or from the plugin installation screen.
  4. Create a SendGrid account at http://sendgrid.com/partner/wordpress
  5. Navigate to "Settings" -> "SendGrid Settings" and enter your SendGrid credentials

SendGrid settings can optionally be defined as global variables (wp-config.php):

  1. Set credentials (You can use credentials or Api key. If using credentials, both need to be set in order to get credentials from variables and not from the database. If using API key you need to make sure you set the Mail Send permissions to FULL ACCESS, Stats to READ ACCESS and Template Engine to READ or FULL ACCESS when you created the api key on SendGrid side, so you can send emails and see statistics on wordpress):

    • Auth method ('apikey' or 'credentials'): define('SENDGRID_AUTH_METHOD', 'apikey');
    • Username: define('SENDGRID_USERNAME', 'sendgrid_username');
    • Password: define('SENDGRID_PASSWORD', 'sendgrid_password');
    • API key: define('SENDGRID_API_KEY', 'sendgrid_api_key');
  2. Set email related settings:

    • Send method ('api' or 'smtp'): define('SENDGRID_SEND_METHOD', 'api');
    • From name: define('SENDGRID_FROM_NAME', 'Example Name');
    • From email: define('SENDGRID_FROM_EMAIL', 'from_email@example.com');
    • Reply to email: define('SENDGRID_REPLY_TO', 'reply_to@example.com');
    • Categories: define('SENDGRID_CATEGORIES', 'category_1,category_2');
    • Template: define('SENDGRID_TEMPLATE', 'templateID');

Requires: 3.3 or higher
Compatible up to: 4.3.3
Last Updated: 2 weeks ago
Active Installs: 10,000+

Ratings

4.3 out of 5 stars

Support

7 of 13 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1
50,2,1
100,1,1
0,1,0
100,1,1
100,1,1
0,1,0 100,1,1
0,1,0 100,2,2