Constructor
email
__construct
(string $from, string $subject, [string $replyto = ''], [string $notificationto = ''], [string $useragent = 'PHP/ReptilerEMailClass'])
-
string
$from
-
string
$subject
-
string
$replyto
-
string
$notificationto
-
string
$useragent
Add an attachment.
void
addattachment
(string $filename, [bool $inline = false])
-
string
$filename
-
bool
$inline
Add an additional header.
void
addheader
(string $header)
Add a recipient.
void
addrecipient
(string $recipient, [string $type = 'To'])
-
string
$recipient
-
string
$type
Compose the mail.
string
composemail
()
Send the mail.
bool
sendmail
()
Set the HTML body.
void
sethtmlbody
(string $body)
Set the clear-text body.
void
settextbody
(string $body)