Hallo!
In meiner Extension verwende ich htmlmail zum Versand von HTML-Mails:
$this->htmlMail = t3lib_div::makeInstance('t3lib_htmlmail');
$this->htmlMail->start();
$this->htmlMail->recipient = $this->posts['EMail'];
$this->htmlMail->subject = $this->data['betreff2'];
$this->htmlMail->from_email = $this->data['frommail'];
$this->htmlMail->from_name = $this->data['fromname'];
$this->htmlMail->returnPath = $this->data['frommail'];
$this->htmlMail->setHTML($content);
$this->htmlMail->send($this->htmlMail->recipient);
Die Mails kommen bei mir auch ohne Probleme an. Sie sehen auch so aus, wie sie sein sollen.
Bei einem Freund kommen die Mails aber nicht an. Da gibt es nur ne Fehlermeldung von McAfee:
WARNUNG: BESCHÄDIGTER INHALT
Der ursprüngliche Inhalt war beschädigt.
Grund für Beschädigung: Ungültige(r) Zeichensatz oder -codierung.
Weitere Informationen erhalten Sie von Ihrem Systemadministrator.
Copyright © 1993-2006, McAfee, Inc.
Alle Rechte vorbehalten.
http://www.mcafee.com
Woran kann das liegen? Mein verschickter Header sieht folgendermaßen aus:
Microsoft Mail Internet Headers Version 2.0
Received: from xxx.xxx.de ([192.168.200.220]) by yyy.yyy.local with Microsoft SMTPSVC(6.0.3790.1830);
Thu, 1 Mar 2007 11:07:36 +0100
Received: from aaa.aaa.de ([62.159.101.130])
by xxx.xxx.de with esmtp (Exim 4.43)
id 1HMiAj-0002GQ-7b
for empfaenger@xxx.de; Thu, 01 Mar 2007 11:06:07 +0100
Received: by aaa.aaa.de (Postfix, from userid 70)
id 191ECB8FA8B; Thu, 1 Mar 2007 11:05:08 +0100 (CET)
To: empfaenger@xxx.de
Subject: Neue Anfrage via www.webseite.com
Message-ID: <598fbacc37eaf3e5ab21bcc9c7f0f284@domain.tld>
From: webseiteninhaber <info@webseite.com>
Reply-To: Mr.Reply <reply@mailer.com>
Organisation: Your Company
X-Mailer: PHP mailer
X-Priority: 3
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="----------part_1_45e6a5541c1ae"
Date: Thu, 1 Mar 2007 11:05:08 +0100 (CET)
X-Spam-Score: 0.8 (/)
X-Spam-Report: 0.7 MIME_HTML_MOSTLY BODY: Multipart message mostly text/html MIME
0.1 MPART_ALT_DIFF BODY: HTML and text parts are different
Return-Path: www@xxx.xxx.de
X-OriginalArrivalTime: 01 Mar 2007 10:07:36.0640 (UTC) FILETIME=[6FE90C00:01C75BE9]
------------part_1_45e6a5541c1ae
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
------------part_1_45e6a5541c1ae
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
------------part_1_45e6a5541c1ae--
Hat da einer eine Idee?
Danke
McGregor