REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.15 KB
Close
/var/softaculous/sitepad/editor/site-data/plugins/gosmtp-pro/main/notifications/sender.php
Text
Base64
<?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); } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
discord.php
980 B
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
email.php
1.04 KB
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
manager.php
1.18 KB
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
pushover.php
1.19 KB
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
sender.php
1.15 KB
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
slack.php
988 B
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
webhook.php
826 B
lrw-r--r--
2026-04-22 07:17:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).