Overview

Pseudo-transport that writes the message headers and content to a file.

The files are saved in a configurable directory location, and are named "solar_email_{date('Y-m-d_H-i-s.u')}" by default.

Package

This class is part of the Solar_Mail package.

Inheritance:

Configuration Keys

  • dir: The directory where email files should be saved. Default is the system temp directory.

  • prefix: Prefix file names with this value; default is 'solar_email_'.

Constants

None.

Public Properties

The Solar_Mail_Transport_Adapter_File class has no public properties; try the list of all properties.

Public Methods

These are all the public methods in the Solar_Mail_Transport_Adapter_File class.

You can also view the list of all public, protected, and private methods.

__construct()

Constructor.

__destruct()

Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

locale()

Looks up class-specific locale strings based on a key.

send()

Sends a Solar_Mail_Message.



Local