mercury mail - Keine mail per php script

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

mercury mail - Keine mail per php script

Postby vamp » 27. December 2008 03:34

Hallo zusammen,

leider hat mein USB Stick wo u.a. auch Xampp drauf war den geist aufgegeben...

bis dahin lief Mercury einwandfrei... nun hab ich mir die Aktuelle Xampp version installiert,
nur bekomme mercury nicht einwandfrei ans laufen...

leider kann ich mich auch nicht dran erinnern, wie ich es damals gemacht habe...

ich habe unter Configuration -> Mercury Core Modul -> General

unter "Internet name for this System" aus 'localhost' 'localhost.de' gemacht
und unter "Local Domains" 'localhost.de' hinzugefügt
danach habe ich noch ein paar User hinzugefügt...

Mehr habe ich damals auch nicht gemacht, soweit ich mich erinnern kann....


Wenn ich nun eine Mail per PHP Script schicke, landen nur 2 Dateien im Adminordner... aber keine om Ordner des Empfängers

Das komische ist, dass sobald ich eine mail per Thunderbird verschicke alles einwandfrei funktioniert!!!

mein mailscript sieht so aus (nur zum testen)

Code: Select all
$Empfaenger = "test1@localhost.de";

$Header = "MIME-Version: 1.0\n";
$Header .= "Content-type: text/txt; charset=utf-8\n";
$Header .= "From: test2 <test2@localhost.de> \n";
       
$Text = "das ist der test";
$Betreff = "das ist der betreff";

mail($Empfaenger, $Betreff, $Text, $Header);



in den beiden Dateien steht folgendes

Datei 1

Received: from spooler by localhost (Mercury/32 v4.52); 27 Dec 2008 03:20:43 +0100
X-Envelope-To: Electronic Postmaster <Admin@localhost>
To: Electronic Postmaster <Admin@localhost>
From: Electronic Postmaster <postmaster@localhost>
Date: Sat, 27 Dec 2008 03:20:32 +0100
Subject: Postmaster Notify: Delivery Failure.
MIME-Version: 1.0
Content-type: multipart/mixed; boundary=499.42737718

This message is in MIME format. If you are seeing this text,
then your mailer does not understand this format properly.

--499.42737718
Content-type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
Content-Description: Reason for delivery failure.

The attached message has failed delivery and has been referred
to you as postmaster. The following error report or reports
were given to explain the problem:


--- Problems not related to specific addresses in the message:
Job has invalid or illegal from address.
*** <test1@localhost.de>

--499.42737718
Content-type: Message/RFC822

Return-path: <test2 <test2@localhost.de> >
Received: from ms1 (127.0.0.1) by localhost (Mercury/32 v4.52) ID MG000009;
27 Dec 2008 03:20:26 +0100
Date: Sat, 27 Dec 2008 03:20:26 +0100
Subject: das ist der betreff
To: test1@localhost.de
MIME-Version: 1.0
Content-type: text/txt; charset=utf-8
From: test2 <test2@localhost.de>

das ist der test


Datei 2

Received: from spooler by localhost (Mercury/32 v4.52); 27 Dec 2008 03:20:54 +0100
X-Envelope-To: Electronic Postmaster <Admin@localhost>
To: Electronic Postmaster <Admin@localhost>
From: Electronic Postmaster <postmaster@localhost>
Date: Sat, 27 Dec 2008 03:20:43 +0100
Subject: Postmaster Notify: Delivery Failure.
MIME-Version: 1.0
Content-type: multipart/mixed; boundary=23169.42749187

This message is in MIME format. If you are seeing this text,
then your mailer does not understand this format properly.

--23169.42749187
Content-type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
Content-Description: Reason for delivery failure.

The attached message has failed delivery and has been referred
to you as postmaster. The following error report or reports
were given to explain the problem:

*** <test2 <test2@localhost.de> >
User <test2 <test2@localhost.de> > not known at this site.

--23169.42749187
Content-type: Message/RFC822

From: Mail Delivery System <postmaster@localhost>
To: <test2 <test2@localhost.de> >
Date: Sat, 27 Dec 2008 03:20:32 +0100
Subject: Delivery failure notification
MIME-Version: 1.0
Content-Type: Multipart/Report; boundary=Part_Boundary-28C2075

--Part_Boundary-28C2075
Content-type: Text/plain; charset=US-ASCII
Content-description: Mail delivery failure report
Content-disposition: Inline

With reference to your message with the subject:
"das ist der betreff"

The local mail transport system has reported the following problems
it encountered while trying to deliver your message:

-------------------------------------------------------------------

--- Problems not related to specific addresses in the message:
Job has invalid or illegal from address.
*** <test1@localhost.de>
-------------------------------------------------------------------

Your mail message is being returned to you in the next part of this
message.

Should you need assistance, please mail postmaster@localhost.

--Part_Boundary-28C2075
Content-type: Message/RFC822
Content-description: Contents of original mail message

Return-path: <test2 <test2@localhost.de> >
Received: from ms1 (127.0.0.1) by localhost (Mercury/32 v4.52) ID MG000009;
27 Dec 2008 03:20:26 +0100
Date: Sat, 27 Dec 2008 03:20:26 +0100
Subject: das ist der betreff
To: test1@localhost.de
MIME-Version: 1.0
Content-type: text/txt; charset=utf-8
From: test2 <test2@localhost.de>

das ist der test
das ist der test

--Part_Boundary-28C2075--


--23169.42749187--



Hat vielleicht jemand eine Idee woran das liegen könnte?
Hab ich vielleicht irgendwelche Einstellungen vergessen o.ä.?

Vielen Dank schon mal !!!!

VG
Markus


PS: Ich nutze Xampp nur um meine PHP Scripte zu testen, muss also nicht "besonders" konfiguriert werden,
es sollen nur die mails angekommen, die ich per php script verschicke.
vamp
 
Posts: 14
Joined: 02. October 2007 18:43

Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 64 guests