Mail/Transport/File.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Mail
- Subpackage
- Transport
- Version
- $Id$
\Zend_Mail_Transport_File
Package: Zend_Mail\Transport
File transport
Class for saving outgoing emails in filesystem
- Parent(s)
- \Zend_Mail_Transport_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
__construct(array | \Zend_Config $options = null) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$options | array | \Zend_Config | OPTIONAL (Default: null) |
_sendMail() : void
Saves e-mail message to a file
Throws
Exception | Description |
---|---|
\Zend_Mail_Transport_Exception | on not writable target directory |
\Zend_Mail_Transport_Exception | on file_put_contents() failure |
defaultCallback( $transport) : string
Default callback for generating filenames
Parameters
Returns
Name | Type | Description |
---|---|---|
$transport |
Type | Description |
---|---|
string |