summaryrefslogtreecommitdiff
path: root/Postman
diff options
context:
space:
mode:
authorYehuda Hassine <yehuda@myinbox.in>2019-03-07 01:05:04 +0200
committerYehuda Hassine <yehuda@myinbox.in>2019-03-07 01:05:04 +0200
commit4e0662202f2f2da40af4efa29da9363a468ec118 (patch)
treefde5d8f2e56e7ae77c6d9dc04557fec81b1671d3 /Postman
parent43f74c1f1e4667cff46e11f024565280dbd9c5d3 (diff)
downloadPost-SMTP-4e0662202f2f2da40af4efa29da9363a468ec118.zip
content_transfer_encoding filter
Diffstat (limited to 'Postman')
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail.php b/Postman/Postman-Mail/Zend-1.12.10/Mail.php
index b2204f7..d597ea7 100644
--- a/Postman/Postman-Mail/Zend-1.12.10/Mail.php
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail.php
@@ -365,7 +365,7 @@ class Postman_Zend_Mail extends Postman_Zend_Mime_Message
}
$mp = new Postman_Zend_Mime_Part($txt);
- $mp->encoding = $encoding;
+ $mp->encoding = apply_filters( 'post_smtp_content_transfer_encoding', $encoding, Postman_Zend_Mime::TYPE_TEXT);
$mp->type = Postman_Zend_Mime::TYPE_TEXT;
$mp->disposition = Postman_Zend_Mime::DISPOSITION_INLINE;
$mp->charset = $charset;
@@ -406,7 +406,7 @@ class Postman_Zend_Mail extends Postman_Zend_Mime_Message
}
$mp = new Postman_Zend_Mime_Part($html);
- $mp->encoding = $encoding;
+ $mp->encoding = apply_filters( 'post_smtp_content_transfer_encoding', $encoding, Postman_Zend_Mime::TYPE_HTML );
$mp->type = Postman_Zend_Mime::TYPE_HTML;
$mp->disposition = Postman_Zend_Mime::DISPOSITION_INLINE;
$mp->charset = $charset;