This class allows you to send mails without having to deal with the mail headers and parameters.
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string[string]
|
#
get_recipients( )
Returns a map associating email addresses to the corresponding names (can be empty). |
public
string[string]
|
#
get_cc_recipients( )
Returns a map associating email addresses to the corresponding names (can be empty). |
public
string[string]
|
#
get_bcc_recipients( )
Returns a map associating email addresses to the corresponding names (can be empty). |
public
|
|
public
|
|
public
|
#
set_headers( string $headers )
Sets the headers. Forces them, they won't be generated automatically. |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
string |
SENDER_ADMIN
|
#
'admin'
|
string |
SENDER_USER
|
#
'user'
|
public
sting
|
$subject
object of the mail |
#
''
|
public
string
|
$content
content of the mail |
#
''
|
public
string
|
$sender_mail
Address of the mail sender. |
#
''
|
public
string
|
$sender_name
The mail sender name. |
#
''
|
public
string
|
$reply_to_mail
Address of the mail to reply to. |
#
''
|
public
string
|
$reply_to_name
The reply to mail sender name. |
#
''
|
public
The
|
$headers
mail headers. |
#
''
|
public
string[]
|
$recipients
Recipients of the mail. If they are more than one, a comma separates their addresses. |
#
array()
|
public
string[]
|
$cc_recipients
Cc recipients of the mail. If they are more than one, a comma separates their addresses. |
#
array()
|
public
string[]
|
$bcc_recipients
Bcc recipients of the mail. If they are more than one, a comma separates their addresses. |
#
array()
|
public
string
|
$is_html
Tells whether the content contains HTML code |
#
false
|