// generate a mime boundary
$mimeBoundary =rand(0,9)."-"
// generate a mime boundary
$mimeBoundary =rand(0,9)."-"
- .rand(10000000000,9999999999)."-"
- .rand(10000000000,9999999999)."=:"
+ .rand(100000000,999999999)."-"
+ .rand(100000000,999999999)."=:"
'body' => $multipartMessageBody,
'headers' => $messageHeader
);
'body' => $multipartMessageBody,
'headers' => $messageHeader
);
call_hooks("emailer_send", $hookdata);
$res = mail(
$hookdata['to'], // send to address
call_hooks("emailer_send", $hookdata);
$res = mail(
$hookdata['to'], // send to address