Function Mail_dispatcher_base->inject_unsubscribe_headers

Definitions

sources/mail.php

  • Inject List-Unsubscribe headers for an e-mail to a single address.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$email_address EMAIL required parameter N/A N/A The recipient e-mail address
$_headers string required parameter N/A N/A The provisional headers to use

Return

  • Updated headers to use including List-Unsubscribe
  • Type: string
  • Set: N/A
  • Range: N/A