Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Horde_Core_Factory_Mail
PHP Class Horde_Core_Factory_Mail, horde
See link:
http://pear.horde.org/index.php?package=Core
Since:
2.5.0
Author:
Michael Slusarz (
[email protected]
)
Inheritance:
extends
Horde_Core_Factory_Base
Show file
Open project: horde/horde
Class Usage Examples
Public Methods
Method
Description
create
(
array
$config
= null ) :
Horde_Mail_Transport
Return the Horde_Mail instance.
getConfig
( ) :
array
Return the mailer configuration.
Method Details
create()
public
method
Return the Horde_Mail instance.
public
create
(
array
$config
= null ) :
Horde_Mail_Transport
$config
array
If null, use Horde defaults. Otherwise, an array with two keys:
- params: (array) Configuration parameters. - transport: (string) Transport driver.
return
Horde_Mail_Transport
The singleton instance.
getConfig()
public
method
Return the mailer configuration.
public
getConfig
( ) :
array
return
array
Two-element array: transport driver (string) and configuration parameters (array).