Function Mail_dispatcher_manualproc->_dispatch

Definitions

sources/mail2.php

  • Implementation-specific e-mail dispatcher, passed with pre-prepared/tidied e-mail component details for us to use.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$to_emails array required parameter N/A N/A To e-mail addresses
$to_names array required parameter N/A N/A To names
$from_email EMAIL required parameter N/A N/A From e-mail address
$from_name string required parameter N/A N/A From name
$subject_wrapped string required parameter N/A N/A Subject line
$_headers string required parameter N/A N/A Provisional headers to use
$sending_message string required parameter N/A N/A Full MIME message
$charset string required parameter N/A N/A Character set to use
$html_evaluated string required parameter N/A N/A Full HTML message (is also inside $sending_message, so we won't use this unless we are not using $sending_message)
$message_plain ?string required parameter N/A N/A Full text message (is also inside $sending_message, so we won't use this unless we are not using $sending_message) (null: HTML only)

Return

  • A pair: Whether it worked, and an error message
  • Type: array
  • Set: N/A
  • Range: N/A