Class Core_Mail
Abstract mail
Core_Mail::instance() ->to($email) ->from($email) ->subject($subject) ->message($message_mail) ->contentType('text/plain') //->header('Cc', 'copy@email.com') //->header('Bcc', 'hidden-copy@email.com') ->header('X-HostCMS-Reason', 'Alert') ->header('Precedence', 'bulk') ->attach(array( 'filepath' => $include_file, 'filename' => $file )) ->send();
Direct known subclasses
Abstract
Package: HostCMS\Core\Mail
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at core/mail.php
Package: HostCMS\Core\Mail
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at core/mail.php
Methods summary
public
boolean
|
|
protected static
string
|
|
public
boolean
|
|
public static
object
|
#
instance( string $name = 'default', array $aPersonalConfig = array() )
Register an existing instance as a singleton. |
public
|
|
public
|
|
abstract protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public static
string
|
|
public
|
|
public
|
|
protected
|
|
public
mixed
|
|
public
string
|
|
public
|
|
protected
string
|
Properties summary
protected
string
|
$_status
Status |
#
FALSE
|
protected
|
$_log
|
#
NULL
|
protected
array
|
$_config
List of parameters |
#
array()
|
protected
string
|
$_separator
Separator |
#
NULL
|
protected
string
|
$_chunklen
The chunk length. |
#
NULL
|
protected
string
|
$_to
Mail TO field |
#
NULL
|
protected
string
|
$_from
Mail FROM field |
#
NULL
|
protected
string
|
$_subject
Subject |
#
NULL
|
protected
string
|
$_message
Message text |
#
NULL
|
protected
string
|
$_senderName
Sender name |
#
NULL
|
protected
string
|
$_recipientName
Recipient name |
#
NULL
|
protected
string
|
$_bound
Boundary |
#
NULL
|
protected
string
|
$_contentType
Mail Content-Type |
#
'text/plain'
|
protected
boolean
|
$_multipartRelated
Multipart related mode |
#
FALSE
|
protected
array
|
$_headers
List of headers |
#
array()
|
protected
array
|
$_files
List of attached files |
#
array()
|