$99 GRAYBYTE WORDPRESS FILE MANAGER $28

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/var/softaculous/sitepad/editor/site-data/plugins/gosmtp-pro/main/notifications/

HOME
Current File : /var/softaculous/sitepad/editor/site-data/plugins/gosmtp-pro/main/notifications//sender.php
<?php

if(!defined('ABSPATH')){
	die('HACKING ATTEMPT');
}

function gosmtp_pro_check_failure_and_notify($is_sent, $exception, $backup_sent){
	global $gosmtp;

	if($is_sent){
		return;
	}

	$active_service_key = isset($gosmtp->options['notifications']['notification_service']) ? $gosmtp->options['notifications']['notification_service'] : '';
	$enabled = !empty($gosmtp->options['notifications']['notifications_enabled']);

	if(empty($active_service_key) || empty($enabled)){
		return;
	}

	$all_services = gosmtp_pro_load_notifications_service_list();

	if(isset($all_services[$active_service_key])){
		$service = $all_services[$active_service_key];

		// Load the specific saved options for this service (Slack URL, Email, etc.)
		if(method_exists($service, 'load_options')){
			$service->load_options();
		}

		$error_message = $exception ? $exception->getMessage() : 'Unknown Error';

		$message = "GoSMTP Alert: Email Delivery Failed.\n\n";
		$message .= "Your website failed to send an email.\n\n";
		$message .= "Domain: ".site_url()."\n";
		$message .= "Error Details: " . $error_message;

		if(method_exists($service, 'send')){
			$service->send($message);
		}
	}
}


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Feb 2026 2.55 AM
root / root
0755
discord.php
0.957 KB
18 Feb 2026 11.32 PM
root / root
0644
email.php
1.043 KB
18 Feb 2026 11.32 PM
root / root
0644
manager.php
1.184 KB
18 Feb 2026 11.32 PM
root / root
0644
pushover.php
1.248 KB
18 Feb 2026 11.32 PM
root / root
0644
sender.php
1.146 KB
18 Feb 2026 11.32 PM
root / root
0644
slack.php
0.965 KB
18 Feb 2026 11.32 PM
root / root
0644
webhook.php
0.855 KB
18 Feb 2026 11.32 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF