Table of Contents
- $content : string
- $headers : Headers
- $subject : string
- $to : string
- __construct() : mixed
- addBcc() : self
- Add hidden copy
- send() : bool
- Send mail
- setContent() : self
- Set Content
- setFrom() : self
- Set Sender's email
- setSubject() : self
- Set Subject
- setTo() : self
- Set Recipient's email
Properties
$content
private
string
$content
$headers
private
Headers
$headers
$subject
private
string
$subject
$to
private
string
$to
Methods
__construct()
public
__construct(string $to, string $subject, string $content) : mixed
Parameters
- $to : string
- $subject : string
- $content : string
Return values
mixed —addBcc()
Add hidden copy
public
addBcc(string $bcc) : self
Parameters
- $bcc : string
Return values
self —send()
Send mail
public
send() : bool
Return values
bool —setContent()
Set Content
public
setContent(string $content) : self
Parameters
- $content : string
Return values
self —setFrom()
Set Sender's email
public
setFrom(string $fromName, string $from) : self
Parameters
- $fromName : string
- $from : string
Return values
self —setSubject()
Set Subject
public
setSubject(string $subject) : self
Parameters
- $subject : string
Return values
self —setTo()
Set Recipient's email
public
setTo(string $to) : self
Parameters
- $to : string