/home/altere25/sportzsoft.altereddigital.com/wp-content/plugins/boldgrid-backup/cli
NameSizeModeActions
bgbkup-cli.php14480644editdlrm
class-email.php13750644editdlrm
class-info.php250930644editdlrm
class-log.php27160644editdlrm
class-site-check.php58430644editdlrm
class-site-restore.php110410644editdlrm
env-info.php11680644editdlrm
index.html00644editdlrm
verify-69d005e3c477aab6ff1268cfa2e39dc7.php220644editdlrm
wp-test.php34980644editdlrm
Edit: /home/altere25/sportzsoft.altereddigital.com/wp-content/plugins/boldgrid-backup/cli/class-email.php (1375B)
* * phpcs:disable WordPress.VIP,WordPress.WP.AlternativeFunctions */ namespace Boldgrid\Backup\Cli; /** * Class: Email * * @since 1.10.0 */ class Email { /** * Recipient email addresss. * * @since 1.10.0 * @access private * * @var string */ private $recipient; /** * Constructor. * * @since 1.10.0 * * @link https://www.php.net/manual/en/function.mail.php * @link http://www.faqs.org/rfcs/rfc2822 * * @param string $recipient Recipient email address (with or without name). */ public function __construct( $recipient ) { $this->recipient = trim( $recipient ); } /** * Send a notification email. * * @since 1.10.0 * * @param string $subject Message subject. * @param string $message Message body. * @return bool */ public function send( $subject, $message ) { $headers = 'From: ' . $this->recipient . "\r\nX-Mailer: PHP/" . phpversion() . "\r\n"; $message = "Hello,\r\n\r\n" . trim( $message ) . "\r\n\r\n" . "Best regards,\r\n\r\nThe Total Upkeep plugin\r\n"; return mail( $this->recipient, $subject, $message, $headers ); } }