You are here

class SmtpMailSystemWrapper in SMTP Authentication Support 7

Helper class to test SmtpMailSystem.

Hierarchy

Expanded class hierarchy of SmtpMailSystemWrapper

File

tests/smtp_tests.mail.inc, line 11
Helper class to test SmtpMailSystem.

View source
class SmtpMailSystemWrapper extends SmtpMailSystem {

  /**
   * Expose public method to directly test _get_components().
   */
  public function getComponents($input) {
    return $this
      ->_get_components($input);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SmtpMailSystem::$AllowHtml protected property
SmtpMailSystem::format public function Concatenate and wrap the e-mail body for either plain-text or HTML emails. Overrides MailSystemInterface::format
SmtpMailSystem::mail public function Send the e-mail message. Overrides MailSystemInterface::mail
SmtpMailSystem::mailWithoutQueue public function
SmtpMailSystem::_boundary_split protected function Splits the input into parts based on the given boundary.
SmtpMailSystem::_get_components protected function Returns an array of name and email address from a string.
SmtpMailSystem::_get_substring protected function Returns a string that is contained within another string.
SmtpMailSystem::_remove_headers protected function Strips the headers from the body part.
SmtpMailSystemWrapper::getComponents public function Expose public method to directly test _get_components().