| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| 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.php 0000644 00000001163 15114343515 0025635 0 ustar 00 <?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.php 0000644 00000001163 15114447556 0027063 0 ustar 00 <?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 );
}
}