Swift_Message::__construct
Create a new Message.
Details may be optionally passed into the constructor.
Signature
public function __construct([string
$subject = null,
[string
$body = null,
[string
$contentType = null,
[string
$charset = null]]]] )
Parameters
$subject
— string$body
— string$contentType
— string$charset
— string