was für header bei mail?
Verfasst: 21.08.2006 19:39
hallo, ich wollte mal fragen wie so ein mailheader bzw wo ich einen herbekomme, für stinknormale php mails.
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
From: witziger@killer.de
Code: Alles auswählen
http://de.wikipedia.org/wiki/Header_(E-Mail)
Wenn das wirklich möglich wäre, wäre das doch eine Einladung für Spammer...witzigerkiller hat geschrieben:ich habe zurzeit ohne header den fehler, das die mail vom spamfilter mancher leute rausgefischt wird.. ich hab mir sagenlassen das sei mit dem header wieder anders dann.
Code: Alles auswählen
// Build header
$this->extra_headers = (($this->reply_to != '') ? "Reply-to: $this->reply_to\n" : '') . (($this->from != '') ? "From: $this->from\n" : "From: " . $board_config['board_email'] . "\n") . "Return-Path: " . $board_config['board_email'] . "\nMessage-ID: <" . md5(uniqid(time())) . "@" . $board_config['server_name'] . ">\nMIME-Version: 1.0\nContent-type: text/plain; charset=" . $this->encoding . "\nContent-transfer-encoding: 8bit\nDate: " . date('r', time()) . "\nX-Priority: 3\nX-MSMail-Priority: Normal\nX-Mailer: PHP\nX-MimeOLE: Produced By phpBB2\n" . $this->extra_headers . (($cc != '') ? "Cc: $cc\n" : '') . (($bcc != '') ? "Bcc: $bcc\n" : '');
Code: Alles auswählen
"Reply-to: adminmail\n
From: adminmail\n)
Return-Path: adminmail\n
Message-ID: <md5(uniqid(time()))@localhost>\n
MIME-Version: 1.0\nContent-type: text/plain; charset=iso-8859-1\n
Content-transfer-encoding: 8bit\n
Date: " . date('r', time())\n
X-Priority: 3\n
X-MSMail-Priority: Normal\n
X-Mailer: PHP\n
X-MimeOLE: Produced By Me\n"
witzigerkiller hat geschrieben:Content-type: text/plain