SendGrid - Version 1.6

Version Description

  • Fix setTo method in SMTP option, update documentation, add link to SendGrid portal
Download this release

Release Info

Developer team-rs
Plugin Icon 128x128 SendGrid
Version 1.6
Comparing to
See all releases

Code changes from version 1.5.4 to 1.6

lib/class-sendgrid-smtp.php CHANGED
@@ -76,7 +76,7 @@ class Smtp
76
  * but Swift still requires a 'to' address. So we'll falsify it with the from address, as it will be
77
  * ignored anyway.
78
  */
79
- $message->setTo($mail->getFrom());
80
  $message->setFrom($mail->getFrom(true));
81
  $message->setCc($mail->getCcs());
82
  $message->setBcc($mail->getBccs());
76
  * but Swift still requires a 'to' address. So we'll falsify it with the from address, as it will be
77
  * ignored anyway.
78
  */
79
+ $message->setTo($mail->to);
80
  $message->setFrom($mail->getFrom(true));
81
  $message->setCc($mail->getCcs());
82
  $message->setBcc($mail->getBccs());
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: team-rs
3
  Donate link: http://sendgrid.com/
4
  Tags: email, email reliability, email templates, sendgrid, smtp, transactional email, wp_mail,email infrastructure, email marketing, marketing email, deliverability, email deliverability, email delivery, email server, mail server, email integration, cloud email
5
  Requires at least: 3.3
6
- Tested up to: 4.1.1
7
- Stable tag: 1.5.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -16,7 +16,7 @@ SendGrid's cloud-based email infrastructure relieves businesses of the cost and
16
 
17
  The SendGrid plugin uses SMTP or API integration to send outgoing emails from your WordPress installation. It replaces the wp_mail function included with WordPress.
18
 
19
- First, you need to have PHP-curl extension enabled. To send emails through SMTP you need to install also the 'Swift Mailer' plugin. After installing 'Swift Mailer' plugin, you must have PHP-short_open_tag setting enabled in your php.ini file.
20
 
21
  To have the SendGrid plugin running after you have activated it, go to the plugin's settings page and set the SendGrid credentials, and how your email will be sent - either through SMTP or API.
22
 
@@ -73,7 +73,7 @@ Requirements:
73
 
74
  1. PHP version >= 5.3.0
75
  2. You need to have PHP-curl extension enabled in order to send attachments.
76
- 3. To send emails through SMTP you need to install also the 'Swift Mailer' plugin. After installing 'Swift Mailer' plugin, you must have PHP-short_open_tag setting enabled in your php.ini file.
77
 
78
  To upload the SendGrid Plugin .ZIP file:
79
 
@@ -90,7 +90,7 @@ To auto install the SendGrid Plugin from the WordPress admin:
90
  4. Create a SendGrid account at <a href="http://sendgrid.com/partner/wordpress" target="_blank">http://sendgrid.com/partner/wordpress</a>
91
  5. Navigate to "Settings" -> "SendGrid Settings" and enter your SendGrid credentials
92
 
93
- Define SendGrid settings as global variables (wp-config.php):
94
 
95
  1. Set credentials (both need to be set in order to get credentials from variables and not from the database):
96
  * Username: define('SENDGRID_USERNAME', 'sendgrid_username');
@@ -121,6 +121,8 @@ Create a SendGrid account at <a href="http://sendgrid.com/partner/wordpress" tar
121
 
122
  == Changelog ==
123
 
 
 
124
  = 1.5.4 =
125
  * Updated the plugin to use the last version of Sendgrid library: https://github.com/sendgrid/sendgrid-php/releases/tag/v3.0.0
126
  = 1.5.3 =
@@ -168,6 +170,8 @@ Create a SendGrid account at <a href="http://sendgrid.com/partner/wordpress" tar
168
 
169
  == Upgrade notice ==
170
 
 
 
171
  = 1.5.4 =
172
  * Updated the plugin to use the last version of Sendgrid library: https://github.com/sendgrid/sendgrid-php/releases/tag/v3.0.0
173
  = 1.5.3 =
3
  Donate link: http://sendgrid.com/
4
  Tags: email, email reliability, email templates, sendgrid, smtp, transactional email, wp_mail,email infrastructure, email marketing, marketing email, deliverability, email deliverability, email delivery, email server, mail server, email integration, cloud email
5
  Requires at least: 3.3
6
+ Tested up to: 4.3
7
+ Stable tag: 1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
16
 
17
  The SendGrid plugin uses SMTP or API integration to send outgoing emails from your WordPress installation. It replaces the wp_mail function included with WordPress.
18
 
19
+ First, you need to have PHP-curl extension enabled. To send emails through SMTP you need to install also the 'Swift Mailer' plugin.
20
 
21
  To have the SendGrid plugin running after you have activated it, go to the plugin's settings page and set the SendGrid credentials, and how your email will be sent - either through SMTP or API.
22
 
73
 
74
  1. PHP version >= 5.3.0
75
  2. You need to have PHP-curl extension enabled in order to send attachments.
76
+ 3. To send emails through SMTP you need to install also the 'Swift Mailer' plugin.
77
 
78
  To upload the SendGrid Plugin .ZIP file:
79
 
90
  4. Create a SendGrid account at <a href="http://sendgrid.com/partner/wordpress" target="_blank">http://sendgrid.com/partner/wordpress</a>
91
  5. Navigate to "Settings" -> "SendGrid Settings" and enter your SendGrid credentials
92
 
93
+ SendGrid settings can optionally be defined as global variables (wp-config.php):
94
 
95
  1. Set credentials (both need to be set in order to get credentials from variables and not from the database):
96
  * Username: define('SENDGRID_USERNAME', 'sendgrid_username');
121
 
122
  == Changelog ==
123
 
124
+ = 1.6 =
125
+ * Fix setTo method in SMTP option, update documentation, add link to SendGrid portal
126
  = 1.5.4 =
127
  * Updated the plugin to use the last version of Sendgrid library: https://github.com/sendgrid/sendgrid-php/releases/tag/v3.0.0
128
  = 1.5.3 =
170
 
171
  == Upgrade notice ==
172
 
173
+ = 1.6 =
174
+ * Fix setTo method in SMTP option, update documentation, add link to SendGrid portal
175
  = 1.5.4 =
176
  * Updated the plugin to use the last version of Sendgrid library: https://github.com/sendgrid/sendgrid-php/releases/tag/v3.0.0
177
  = 1.5.3 =
view/sendgrid_stats.php CHANGED
@@ -3,6 +3,7 @@
3
  <div id="icon-sendgrid" class="icon32"><br></div>
4
  <h2 id="sendgrid-wordpress-statistics-header" class="sendgrid-statistics-header-toggle">SendGrid Wordpress Statistics</h2>
5
  <h2 id="sendgrid-general-statistics-header" class="sendgrid-statistics-header-toggle" style="display: none;">SendGrid General Statistics</h2>
 
6
  </div>
7
  <div class="pull-right sendgrid-statistics-change-type">
8
  <select id="sendgrid-statistics-change-type">
3
  <div id="icon-sendgrid" class="icon32"><br></div>
4
  <h2 id="sendgrid-wordpress-statistics-header" class="sendgrid-statistics-header-toggle">SendGrid Wordpress Statistics</h2>
5
  <h2 id="sendgrid-general-statistics-header" class="sendgrid-statistics-header-toggle" style="display: none;">SendGrid General Statistics</h2>
6
+ <a href="https://app.sendgrid.com/statistics" target="_blank" class="more-statistics">SendGrid Portal</a>
7
  </div>
8
  <div class="pull-right sendgrid-statistics-change-type">
9
  <select id="sendgrid-statistics-change-type">
wpsendgrid.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SendGrid
4
  Plugin URI: http://wordpress.org/plugins/sendgrid-email-delivery-simplified/
5
  Description: Email Delivery. Simplified. SendGrid's cloud-based email infrastructure relieves businesses of the cost and complexity of maintaining custom email systems. SendGrid provides reliable delivery, scalability and real-time analytics along with flexible APIs that make custom integration a breeze.
6
- Version: 1.5.4
7
  Author: SendGrid
8
  Author URI: http://sendgrid.com
9
  License: GPLv2
3
  Plugin Name: SendGrid
4
  Plugin URI: http://wordpress.org/plugins/sendgrid-email-delivery-simplified/
5
  Description: Email Delivery. Simplified. SendGrid's cloud-based email infrastructure relieves businesses of the cost and complexity of maintaining custom email systems. SendGrid provides reliable delivery, scalability and real-time analytics along with flexible APIs that make custom integration a breeze.
6
+ Version: 1.6
7
  Author: SendGrid
8
  Author URI: http://sendgrid.com
9
  License: GPLv2