ArininAV

Mail::factory()

Mail::factory() -- creates a mailer instance

Synopsis

require_once 'Mail.php';

object &factory (string $backend [, array $params = array()])

Creates a instance of a backend-specific mailer class.

object - a specific Mail instance or a PEAR_Error object, if fails

Throws

Таблица 44-1. PEAR_Error

Error codeError messageReasonSolution
NULL "Unable to find class for driver xxx" Mailer backend class was not found. Check the $backend parameter, if correct reinstall and/or update your Mail package.

.

.

"Introduction"