B
ba2
Guest
Hi,
Ich möchte mit einen PHP Skript aus folgenden Dateien (*.eml) Den Inhalt der Mail und den Betreff der E-Mail auslesen. Da ich beim Inhalt nicht wirklich einen Zusammenhang sehe fällt ja explode weg. nun hab ich keine Idee, wie man das sonst noch realisieren kann.
Ich hoffe einer von euch hat eine Idee. ?(
E-Mail Beispiel 1 (E-Mail aus Outlook):
E-Mail Beispiel 2 (E-Mail mit Mail Funktion von PHP):
Ich möchte mit einen PHP Skript aus folgenden Dateien (*.eml) Den Inhalt der Mail und den Betreff der E-Mail auslesen. Da ich beim Inhalt nicht wirklich einen Zusammenhang sehe fällt ja explode weg. nun hab ich keine Idee, wie man das sonst noch realisieren kann.
Ich hoffe einer von euch hat eine Idee. ?(
E-Mail Beispiel 1 (E-Mail aus Outlook):
Return-Path: <ba@space4pupils.de>
Received: from pc ([127.0.0.1])
by space4pupils.de
with hMailServer ; Wed, 9 Aug 2006 01:46:22 +0200
Message-ID: <000a01c6bb44$c75d0450$0200a8c0@pc>
From: "ba*zensiert" <ba@space4pupils.de>
To: <ba@space4pupils.de>
Subject: Hier ist der Betreff
Date: Wed, 9 Aug 2006 01:45:49 +0200
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0007_01C6BB55.8A298930"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C6BB55.8A298930
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Test Inhalt
------=_NextPart_000_0007_01C6BB55.8A298930
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Test Inhalt</FONT></DIV></BODY></HTML>
------=_NextPart_000_0007_01C6BB55.8A298930--
E-Mail Beispiel 2 (E-Mail mit Mail Funktion von PHP):
Return-Path: <>
Received: from hostname ([127.0.0.1])
by space4pupils.de
with hMailServer ; Wed, 9 Aug 2006 02:42:49 +0200
Message-ID: <3F5516D0-863B-41D3-9EE0-769B57D8F214@space4pupils.de>
Date: Wed, 09 Aug 2006 02:42:49 X0100
Subject: Hier ist der Betreff
To: ba@space4pupils.de
From: BA <ba@space4pupils.de>
Test Inhalt