summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail/PostmanZendMailEngine.php
diff options
context:
space:
mode:
authorNiels de Blaauw <niels.de.blaauw@gmail.com>2019-03-13 10:50:47 +0100
committerGitHub <noreply@github.com>2019-03-13 10:50:47 +0100
commitbc8e380095d216b943a356d09cba58e1daf34aca (patch)
treeaba313c16b7cccf5450db85d0bb0b185e17d65de /Postman/Postman-Mail/PostmanZendMailEngine.php
parent4e0662202f2f2da40af4efa29da9363a468ec118 (diff)
parentfd70868a4b7c569ff5eeddfa36b71709c24b3555 (diff)
downloadPost-SMTP-bc8e380095d216b943a356d09cba58e1daf34aca.zip
Merge pull request #25 from NielsdeBlaauw/1-fix-variable-text-domain
Fixes #1, deprecates and replaces variable text domain usage
Diffstat (limited to 'Postman/Postman-Mail/PostmanZendMailEngine.php')
-rw-r--r--Postman/Postman-Mail/PostmanZendMailEngine.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Postman/Postman-Mail/PostmanZendMailEngine.php b/Postman/Postman-Mail/PostmanZendMailEngine.php
index 8d69811..a2079f2 100644
--- a/Postman/Postman-Mail/PostmanZendMailEngine.php
+++ b/Postman/Postman-Mail/PostmanZendMailEngine.php
@@ -204,7 +204,7 @@ if ( ! class_exists( 'PostmanZendMailEngine' ) ) {
$message = $e->getMessage();
if ( $e->getCode() == 334 ) {
// replace the unusable Google message with a better one in the case of code 334
- $message = sprintf( __( 'Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID.', Postman::TEXT_DOMAIN ) );
+ $message = sprintf( __( 'Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID.', 'post-smtp' ) );
}
// create a new exception
$newException = new Exception( $message, $e->getCode() );