Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
File transport
Class for saving outgoing emails in filesystem

__construct(
array|\Zend_Config $options
=
null
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$options | array|\Zend_Config | OPTIONAL (Default: null) |

_sendMail(
)
:
void
Saves e-mail message to a file
Exception | Description |
---|---|
\Zend_Mail_Transport_Exception | on not writable target directory |
\Zend_Mail_Transport_Exception | on file_put_contents() failure |

defaultCallback(
\Zend_Mail_Transport_File $transport
)
:
string
Default callback for generating filenames
Name | Type | Description |
---|---|---|
$transport | \Zend_Mail_Transport_File | File transport instance |
Type | Description |
---|---|
string |