Class: I2CE Mailer (4.1.4)
From IHRIS Wiki
For other versions, see Class: I2CE_Mailer (versions) .
This article describes the class I2CE_Mailer .
- Location: Part of the module Mailer in the package I2CE 4.1.4-release
- Source: Defined in the file modules/Mail/lib/I2CE_Mailer.php on line 35
Variables
$method
- Defined in i2ce/modules/Mail/lib/I2CE_Mailer.php on line 37
- Type: static protected $method
$headers
- Defined in i2ce/modules/Mail/lib/I2CE_Mailer.php on line 38
- Type: static protected $headers
$params
- Defined in i2ce/modules/Mail/lib/I2CE_Mailer.php on line 39
- Type: static protected $params
$pear_mailer
- Defined in i2ce/modules/Mail/lib/I2CE_Mailer.php on line 40
- Type: static protected $pear_mailer
Methods
initMailer()
- Defined in i2ce/modules/Mail/lib/I2CE_Mailer.php on line 66
- Signature: static protected function initMailer()
mail()
Mail a message
- Defined in i2ce/modules/Mail/lib/I2CE_Mailer.php on line 49
- Signature: static public function mail($recipients,$headers,$body,$html)
- Parameters:
- mixed $recipients
an array or a string with comma separated recipients. - array $headers
an associative array of headers. The header name is used as key and the header value as value. If you want to override the envelope sender of the email, set the Return-Path header and that value will be used instead of the value of the From: header. Will merge with anyting under /modules/Mailer/mail_message_headers - string $body
- mixed $html
Defaults to false. It set, it will include it as an html attachment- Default Value: false
- mixed $recipients
mail_localhost()
- Defined in i2ce/modules/Mail/lib/I2CE_Mailer.php on line 98
- Signature: static protected function mail_localhost($recipients,$headers,$body,$html)
- Parameters:
- $recipients
- $headers
- $body
- $html
- Default Value: false
mail_pear()
- Defined in i2ce/modules/Mail/lib/I2CE_Mailer.php on line 119
- Signature: static protected function mail_pear($recipients,$headers,$body,$html)
- Parameters:
- $recipients
- $headers
- $body
- $html
- Default Value: false