Backend for mailer operations

package org.openpsa.mail

 Methods

__construct (array $params)

Parameters

$params

get ($implementation, array $params)

Factory method that prepares the mail backend
Static

Parameters

$implementation

$params

get_error_message ()

mail (string $recipients, array $headers, string $body)

This function sends the actual email

Parameters

$recipients

stringRecipients

$headers

arrayMail headers

$body

stringMail body

send (\org_openpsa_mail_message $message)

Parameters

$message

_load_backend ($backend, array $params)

Static

Parameters

$backend

$params

 Properties

 

mixed $error

 

mixed $_mail