You are here

public function MailMIME::__construct in Mail MIME 7.2

Constructor to chain the old PHP 4 $_build_params into the new PHP 5 $build_params property.

File

./mailmime.inc, line 150
Provides the MailMIME class for creating MIME-formatted email messages.

Class

MailMIME
The MailMIME class is used to create MIME email messages.

Code

public function __construct($params = array()) {
  foreach ($this->_build_params as $key => $value) {
    $this->build_params[$key] = $value;
  }
  parent::__construct($params);
}