Function EmailIntegration->process_incoming_message

Definitions

sources/mail_integration.php

  • Process an e-mail found.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$from_email EMAIL No No required parameter N/A N/A From e-mail
$from_name string No No required parameter N/A N/A From name
$subject string No No required parameter N/A N/A E-mail subject
$_body_text ?string No No required parameter N/A N/A E-mail body in text format (null: not present)
$_body_html ?string No No required parameter N/A N/A E-mail body in HTML format (null: not present)
$attachments array No No required parameter N/A N/A Map of attachments (name to file data)

Preview

Code (PHP)

/**
 * Process an e-mail found.
 *
 * @param  EMAIL $from_email From e-mail
 * @param  string $from_name From name
 * @param  string $subject E-mail subject
 * @param  ?string $_body_text E-mail body in text format (null: not present)
 * @param  ?string $_body_html E-mail body in HTML format (null: not present)
 * @param  array $attachments Map of attachments (name to file data)
 */

protected function process_incoming_message(string $from_email, string $from_name, string $subject, ?string $_body_text, ?string $_body_html, array $attachments)