HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/Mail.php.tar
uyarreklam.com.tr/httpdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/EmailReports/Mail.php000064400000001163151544613120032062 0ustar00var/www/vhosts<?php

namespace AIOSEO\Plugin\Common\EmailReports;

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Mail class.
 *
 * @since 4.7.2
 */
class Mail {
	/**
	 * Send the email.
	 *
	 * @since 4.7.2
	 *
	 * @param  mixed $to      Receiver.
	 * @param  mixed $subject Email subject.
	 * @param  mixed $message Message.
	 * @param  array $headers Email headers.
	 * @return bool           Whether the email was sent successfully.
	 */
	public function send( $to, $subject, $message, $headers = [ 'Content-Type: text/html; charset=UTF-8' ] ) {
		return wp_mail( $to, $subject, $message, $headers );
	}
}