summaryrefslogtreecommitdiff
path: root/Postman/notifications/PostmanMailNotify.php
diff options
context:
space:
mode:
authoryehuda <yehuda@myinbox.in>2019-03-04 16:40:35 +0200
committeryehuda <yehuda@myinbox.in>2019-03-04 16:40:35 +0200
commite33f6bd6bce974ec0d9836e1589ea1facf159841 (patch)
tree5dc30b48323d8379a858326ab728c94e6455eba5 /Postman/notifications/PostmanMailNotify.php
parent18c7ae6216c4705a2942b07081469c4c0f1059fd (diff)
downloadPost-SMTP-e33f6bd6bce974ec0d9836e1589ea1facf159841.zip
* Added support for our new chrome notification extension.
* few fixes
Diffstat (limited to 'Postman/notifications/PostmanMailNotify.php')
-rw-r--r--Postman/notifications/PostmanMailNotify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Postman/notifications/PostmanMailNotify.php b/Postman/notifications/PostmanMailNotify.php
index 795afaa..0313f7f 100644
--- a/Postman/notifications/PostmanMailNotify.php
+++ b/Postman/notifications/PostmanMailNotify.php
@@ -4,7 +4,7 @@ class PostmanMailNotify implements Postman_Notify {
public function send_message($message)
{
- $to_email = get_bloginfo( 'admin_email' );
+ $to_email = apply_filters( 'post_smtp_notify_email',get_bloginfo( 'admin_email' ) );
$domain = get_bloginfo( 'url' );
mail( $to_email, "{$domain}: " . __( 'Post SMTP email error', Postman::TEXT_DOMAIN ), $message , '', "-f{$to_email}" );