Version Description
- Update Smtp class name to avoid conflicts
Download this release
Release Info
Developer | team-rs |
Plugin | SendGrid |
Version | 1.6.3 |
Comparing to | |
See all releases |
Code changes from version 1.6.2 to 1.6.3
- lib/class-sendgrid-smtp.php +2 -2
- lib/overwrite-sendgrid-methods.php +1 -1
- readme.txt +5 -1
- wpsendgrid.php +1 -1
lib/class-sendgrid-smtp.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
class
|
4 |
{
|
5 |
//the available ports
|
6 |
const TLS = 587;
|
@@ -26,7 +26,7 @@ class Smtp
|
|
26 |
$this->password = $password;
|
27 |
|
28 |
//set the default port
|
29 |
-
$this->port =
|
30 |
}
|
31 |
|
32 |
/* setPort
|
1 |
<?php
|
2 |
|
3 |
+
class SGSmtp
|
4 |
{
|
5 |
//the available ports
|
6 |
const TLS = 587;
|
26 |
$this->password = $password;
|
27 |
|
28 |
//set the default port
|
29 |
+
$this->port = SGSmtp::TLS;
|
30 |
}
|
31 |
|
32 |
/* setPort
|
lib/overwrite-sendgrid-methods.php
CHANGED
@@ -421,7 +421,7 @@ if ( ! function_exists('wp_mail'))
|
|
421 |
{
|
422 |
if ( class_exists('Swift') )
|
423 |
{
|
424 |
-
$smtp = new
|
425 |
|
426 |
return $smtp->send( $mail );
|
427 |
}
|
421 |
{
|
422 |
if ( class_exists('Swift') )
|
423 |
{
|
424 |
+
$smtp = new SGSmtp( Sendgrid_Tools::get_username(), Sendgrid_Tools::get_password() );
|
425 |
|
426 |
return $smtp->send( $mail );
|
427 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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 |
|
@@ -123,6 +123,8 @@ Create a SendGrid account at <a href="http://sendgrid.com/partner/wordpress" tar
|
|
123 |
|
124 |
== Changelog ==
|
125 |
|
|
|
|
|
126 |
= 1.6.2 =
|
127 |
* Add Api Keys for authentication, use the last version of Sendgrid library: https://github.com/sendgrid/sendgrid-php/releases/tag/v3.2.0
|
128 |
= 1.6.1 =
|
@@ -176,6 +178,8 @@ Create a SendGrid account at <a href="http://sendgrid.com/partner/wordpress" tar
|
|
176 |
|
177 |
== Upgrade notice ==
|
178 |
|
|
|
|
|
179 |
= 1.6.2 =
|
180 |
* Add Api Keys for authentication, use the last version of Sendgrid library: https://github.com/sendgrid/sendgrid-php/releases/tag/v3.2.0
|
181 |
= 1.6.1 =
|
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.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
123 |
|
124 |
== Changelog ==
|
125 |
|
126 |
+
= 1.6.3 =
|
127 |
+
* Update Smtp class name to avoid conflicts
|
128 |
= 1.6.2 =
|
129 |
* Add Api Keys for authentication, use the last version of Sendgrid library: https://github.com/sendgrid/sendgrid-php/releases/tag/v3.2.0
|
130 |
= 1.6.1 =
|
178 |
|
179 |
== Upgrade notice ==
|
180 |
|
181 |
+
= 1.6.3 =
|
182 |
+
* Update Smtp class name to avoid conflicts
|
183 |
= 1.6.2 =
|
184 |
* Add Api Keys for authentication, use the last version of Sendgrid library: https://github.com/sendgrid/sendgrid-php/releases/tag/v3.2.0
|
185 |
= 1.6.1 =
|
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.6.
|
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.3
|
7 |
Author: SendGrid
|
8 |
Author URI: http://sendgrid.com
|
9 |
License: GPLv2
|