summaryrefslogtreecommitdiff
path: root/Postman/notifications/PostmanMailNotify.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/notifications/PostmanMailNotify.php')
-rw-r--r--Postman/notifications/PostmanMailNotify.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/Postman/notifications/PostmanMailNotify.php b/Postman/notifications/PostmanMailNotify.php
deleted file mode 100644
index 922c304..0000000
--- a/Postman/notifications/PostmanMailNotify.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-if ( ! defined( 'ABSPATH' ) ) {
- exit; // Exit if accessed directly
-}
-class PostmanMailNotify implements Postman_Notify {
-
- public function send_message($message)
- {
- $to_email = apply_filters( 'post_smtp_notify_email',get_bloginfo( 'admin_email' ) );
- $domain = get_bloginfo( 'url' );
-
- mail( $to_email, "{$domain}: " . __( 'Post SMTP email error', 'post-smtp' ), $message , '', "-f{$to_email}" );
- }
-} \ No newline at end of file