1943. Class

1943.1. Zend\Mail\Transport\File

File transport

Class for saving outgoing emails in filesystem

1943.1.1. Methods

1943.1.1.1. __construct

__construct()

Constructor

Parameters:null|FileOptions – OPTIONAL (Default: null)

1943.1.1.2. setOptions

setOptions()

Sets options

Parameters:FileOptions

1943.1.1.3. send

send()

Saves e-mail message to a file

Parameters:Message
Throws ExceptionRuntimeException:
 on not writable target directory or

on file_put_contents() failure

1943.1.1.4. getLastFile

getLastFile()

Get the name of the last file written to

Return type:string

Project Versions

Table Of Contents

Previous topic

1942. Class

Next topic

1944. Class

This Page