Your IP : 216.73.216.162


Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/
Upload File :
Current File : /home/x/b/o/xbodynamge/namtation/wp-content/Mail.php.tar

home/xbodynamge/dev/wp-content/plugins/all-in-one-seo-pack/app/Common/EmailReports/Mail.php000064400000001163151143435150025635 0ustar00<?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 );
	}
}home/xbodynamge/namtation/wp-content/plugins/all-in-one-seo-pack/app/Common/EmailReports/Mail.php000064400000001163151144475560027063 0ustar00<?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 );
	}
}