@Linuchs :
headers[] = 'key: '. value;
nebstimplode( PHP_EOL, headers )
ist die wohl beste Variante, wernn Du nicht dem unten stehendem folgst.
$headers[$hname] = $hvalue;
trifft es wohl besser.
Oh? Handbuch?
mail (
string $to ,
string $subject ,
string $message
[
, mixed $additional_headers
[ , string $additional_parameters ]
]
) : bool
- 7.2.0 Der additional_headers Parameter akzeptiert nun ebenfalls ein Array.
[v] Fortgebildet.
[v] THX!
[v] Fühl Dich geplusst.