forked from sendgrid/wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sebastian Plesciuc
committed
Aug 28, 2017
1 parent
4d9d7af
commit 998ba99
Showing
7 changed files
with
81 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* 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 | ||
* Requires at least: 4.6 | ||
* Tested up to: 4.8 | ||
* Stable tag: 1.11.6 | ||
* Stable tag: 1.11.7 | ||
* License: GPLv2 or later | ||
* License URI: http://www.gnu.org/licenses/gpl-2.0.html | ||
|
||
|
@@ -99,6 +99,10 @@ SendGrid settings can optionally be defined as global variables (wp-config.php): | |
* Signup confirmation email content: define('SENDGRID_MC_SIGNUP_EMAIL_CONTENT', '<a href="%confirmation_link%">click here</a>'); | ||
* Signup confirmation page ID: define('SENDGRID_MC_SIGNUP_CONFIRMATION_PAGE', 'page_id'); | ||
|
||
4. Other configuration options: | ||
* Set a custom timeout for API requests to SendGrid in seconds: define('SENDGRID_REQUEST_TIMEOUT', 10); | ||
|
||
|
||
### Filters | ||
|
||
Use HTML content type for a single email: | ||
|
@@ -265,6 +269,14 @@ wp_mail('[email protected]', 'Subject goes here', 'Message goes here', $email); | |
|
||
You can find more examples here: https://github.com/sendgrid/sendgrid-php/blob/v4.0.2/README.md | ||
|
||
### My server is slow. Can I increase the timeout for API requests? | ||
|
||
Yes. You can define a constant in your wp-config.php file like this: | ||
|
||
`define('SENDGRID_REQUEST_TIMEOUT', 10);` | ||
|
||
The value is in seconds, this means that API requests will wait 10 seconds for a reponse from the SendGrid API server until timing out. | ||
|
||
## Screenshots | ||
|
||
1. Go to Admin Panel, section Plugins and activate the SendGrid plugin. If you want to send emails through SMTP you need to install also the 'Swift Mailer' plugin. | ||
|
@@ -292,6 +304,10 @@ You can find more examples here: https://github.com/sendgrid/sendgrid-php/blob/v | |
|
||
## Changelog | ||
|
||
**1.11.7** | ||
* Added a configuration parameter of API request timeout in seconds | ||
* Fixed an issue that made the HTML subscription emails break links | ||
|
||
**1.11.6** | ||
* Added a feature flag to disable whitespace normalization in BuddyPress plaintext emails | ||
* Fixed an issue where the from name and email subjects would incorrectly display the ampersand symbol | ||
|
@@ -536,6 +552,10 @@ You can find more examples here: https://github.com/sendgrid/sendgrid-php/blob/v | |
|
||
## Upgrade notice | ||
|
||
**1.11.7** | ||
* Added a configuration parameter of API request timeout in seconds | ||
* Fixed an issue that made the HTML subscription emails break links | ||
|
||
**1.11.6** | ||
* Added a feature flag to disable whitespace normalization in BuddyPress plaintext emails | ||
* Fixed an issue where the from name and email subjects would incorrectly display the ampersand symbol | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ Donate link: http://sendgrid.com/ | |
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 | ||
Requires at least: 4.6 | ||
Tested up to: 4.8 | ||
Stable tag: 1.11.6 | ||
Stable tag: 1.11.7 | ||
License: GPLv2 or later | ||
License URI: http://www.gnu.org/licenses/gpl-2.0.html | ||
|
||
|
@@ -100,6 +100,9 @@ SendGrid settings can optionally be defined as global variables (wp-config.php): | |
* Signup confirmation email content: define('SENDGRID_MC_SIGNUP_EMAIL_CONTENT', '<a href="%confirmation_link%">click here</a>'); | ||
* Signup confirmation page ID: define('SENDGRID_MC_SIGNUP_CONFIRMATION_PAGE', 'page_id'); | ||
|
||
4. Other configuration options: | ||
* Set a custom timeout for API requests to SendGrid in seconds: define('SENDGRID_REQUEST_TIMEOUT', 10); | ||
|
||
= Filters = | ||
|
||
Use HTML content type for a single email: | ||
|
@@ -276,6 +279,14 @@ wp_mail('[email protected]', 'Subject goes here', 'Message goes here', $email); | |
|
||
You can find more examples here: https://github.com/sendgrid/sendgrid-php/blob/v4.0.2/README.md | ||
|
||
= My server is slow. Can I increase the timeout for API requests? = | ||
|
||
Yes. You can define a constant in your wp-config.php file like this: | ||
|
||
`define('SENDGRID_REQUEST_TIMEOUT', 10);` | ||
|
||
The value is in seconds, this means that API requests will wait 10 seconds for a reponse from the SendGrid API server until timing out. | ||
|
||
== Screenshots == | ||
|
||
1. Go to Admin Panel, section Plugins and activate the SendGrid plugin. If you want to send emails through SMTP you need to install also the 'Swift Mailer' plugin. | ||
|
@@ -292,6 +303,9 @@ You can find more examples here: https://github.com/sendgrid/sendgrid-php/blob/v | |
|
||
== Changelog == | ||
|
||
= 1.11.7 = | ||
* Added a configuration parameter of API request timeout in seconds | ||
* Fixed an issue that made the HTML subscription emails break links | ||
= 1.11.6 = | ||
* Added a feature flag to disable whitespace normalization in BuddyPress plaintext emails | ||
* Fixed an issue where the from name and email subjects would incorrectly display the ampersand symbol | ||
|
@@ -472,6 +486,9 @@ You can find more examples here: https://github.com/sendgrid/sendgrid-php/blob/v | |
|
||
== Upgrade notice == | ||
|
||
= 1.11.7 = | ||
* Added a configuration parameter of API request timeout in seconds | ||
* Fixed an issue that made the HTML subscription emails break links | ||
= 1.11.6 = | ||
* Added a feature flag to disable whitespace normalization in BuddyPress plaintext emails | ||
* Fixed an issue where the from name and email subjects would incorrectly display the ampersand symbol | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters