Method Detail
Summary:
Swift_Message
__construct
([
string $subject =
null], [
string $body =
null], [
string $contentType =
null], [
string $charset =
null])
Static Method newInstance (line 63)
Swift_Mime_Message newInstance(
[string
$subject = null], [string
$body = null], [string
$contentType = null], [string
$charset = null])
Create a new Message.
Parameters
- string $subject:
- string $body:
- string $contentType:
- string $charset:
Info
Constructor __construct (line 32)
Swift_Message __construct(
[string
$subject = null], [string
$body = null], [string
$contentType = null], [string
$charset = null])
Overrides : Swift_Mime_SimpleMessage::__construct() Create a new SimpleMessage with $headers, $encoder and $cache.
Create a new Message.
Details may be optionally passed into the constructor.
Parameters
- string $subject:
- string $body:
- string $contentType:
- string $charset:
Info
Method addPart (line 75)
void addPart(
string|Swift_OutputByteStream
$body, [string
$contentType = null], [string
$charset = null])
Add a MimePart to this Message.
Parameters
Info