Sven Rautenberg: PHP Mail Outlook

Beitrag lesen

Moin!

hier mal ein Auszug des Codes:

$mbox_body = imap_body($mbox_conn, $mbox_resu->msgno);
        $mbox_head=  imap_fetchheader($mbox_conn, $mbox_resu->msgno);
        $mbox_repl = preg_replace(array("/To:(.*?)\n/", "/From:(.*?)\n/", "/Subject:(.*?)\n/"), "", $mbox_head);
        imap_mail($mbox_reci, "Betreff", $mbox_body, $mbox_head);

Das scheint so zumindest nicht zu funktionieren.

Was soll das deiner Meinung nach tun?

- Sven Rautenberg

--
"Love your nation - respect the others."