Set any email header

  • Multiple calls will append existing headers.
  • To remove an existing header, specify NULL as the value.

Usage

$m->header($key, string $value);

Arguments

NameType(s)Description
$keystring or array

Header name

$valuestring

Header value or specify null to unset

Return value

$this

Object instance it was called from (method supports fluent interface).


$m methods and properties

API reference based on ProcessWire core version 3.0.115