Class Email
Package: blesta\components\email
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Located at components/email/email.php
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Located at components/email/email.php
Methods summary
public
|
#
__construct( string $charset = "UTF-8", integer $max_line_length = 1000 )
Constructs a new Email components, sets the default charset. |
public
|
#
setTransport( Swift_Transport $transport )
Sets the transport object to be used for all subsequent requests |
public
|
#
setFloodResistance( integer $max_messages, integer $pause_time = 0 )
Set the flood resistenance for sending messages |
public
|
|
public
|
|
public
|
#
setSubject( string $subject, array $replacements = array() )
Sets the subject of the message, replacing the given tags with their key/value pairs. |
public
|
#
setBody( string $body, boolean $is_html = false, array $replacements = array() )
Sets the body of the message, replacing the given tags with their key/value pairs. |
public
|
#
setAltBody( string $body, array $replacements = array() )
Sets the alternate body of the message, replacing the given tags with their key/value pairs. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
public
|
#
resetAll( )
Resets all recipients, replytos, attachments, and custom headers, body and subject, and replacement tags (if any). |
Magic methods summary
Properties summary
public
string
|
$tag_start |
#
The left tag enclosure |
public
string
|
$tag_end |
#
The right tag enclosure |
public
|
$Logs |
#
The logs Model, used to record outgoing messages |