Verfasst: 21.09.2006, 17:04
natürlich nicht direkt, hab doch keine feste IP
https://board.superscripte.de/
Code: Alles auswählen
$haeders = "Return-Path: email@adresse.dern";
$headers .= "Reply-To: email@adresse.dern";
$headers .= "From: email@adresse.dern";
$headers .= "MIME-Version: 1.0rn";
$headers .= "Content-type: text/html; charset=iso-8859-1rn";
$headers .= "BCc: email@adresse.de, email@adresse.de, email@adresse.de, email@adresse.dern";
//$headers .= "cc: email@adresse.dern";
$betreffzeile = "$betreff";
$nachrichthtml = "
<html>
<head>
<!--link href="http://landeilugau.waldhufe.selfip.net/css/landeihaupt.css" type="text/css" rel="stylesheet"-->
<title>Newsletter</title>
</head>
<body>
<table width="100%"><tr><td align="center"><br><br>
<table width="70%">
<tr><td align="left">
<p class=\'text\'>".nl2br($mitteilung)."</p>
<br><br>
<p>---------------------------------------------------------<br>
Ende des Newsletters</p>
</td></tr>
</table>
</td></tr></table>
</body>
</html>
";
echo "<br><br><br>";
mail("email@adresse.de", $betreffzeile, $nachrichthtml, $headers);
Code: Alles auswählen
127.0.0.1:3497 Stat Connected.
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 220 Welcome to LANMailServer 1.20 SMTP-Server<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:00: HELO festrechner<EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 250 Hello festrechner<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:00: MAIL FROM:<Newsletter Marco <email@adresse.de>><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 250 Newsletter Marco <email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:00: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:00: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:00: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:00: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:00: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:00: RSET<EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 250 Ok<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:00: RSET<EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:00: 250 Ok<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:02: MAIL FROM:<Newsletter Marco <email@adresse.de>><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:02: 250 Newsletter Marco <email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:02: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:02: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:02: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:02: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:02: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:02: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:02: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:02: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:02: RCPT TO:<email@adresse.de><EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:02: 250 email@adresse.de Address Okay<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:02: DATA<EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:02: 354 Start mail input; end with <CRLF>.<CRLF><EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:02: Date: Wed, 20 Sep 2006 15:52:00 +0200<EOL>Subject: <EOL>To: email@adresse.de<EOL>Reply-To: email@adresse.de<EOL>From: Newsletter Marco <email@adresse.de><EOL>MIME-Version: 1.0<EOL>Content-type: text/html; charset=iso-8859-1<EOL><EOL><EOL><EOL> <html><EOL> <head><EOL> <!--link href="http://landeilugau.waldhufe.selfip.net/css/landeihaupt.css" type="text/css" rel="stylesheet"--><EOL> <title>Newsletter</title><EOL> </head><EOL> <body><EOL> <table width="100%"><tr><td align="center"><br><br><EOL> <table width="70%"><EOL> <tr><td align="left"><EOL> <p class=\'text\'>das ist ein testnewsletter von marco<br /><EOL><br /><EOL><br /><EOL>bei unrchtmäßiger zustelleung bitte löschen!</p><EOL> <br><br><EOL> <p>---------------------------------------------------------<br><EOL> Ende des Newsletters</p><EOL> </td></tr><EOL> </table><EOL> </td></tr></table><EOL> </body><EOL> </html><EOL> <EOL><EOL>.<EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:02: 250 Ok<EOL>
127.0.0.1:3497 Recv 20.09.2006 15:52:03: QUIT<EOL>
127.0.0.1:3497 Sent 20.09.2006 15:52:03: 221 Signing Off<EOL>
127.0.0.1:3497 Stat Disconnected.
0.0.0.0:0 Stat Disconnected.
was mich da noch wundert ist wenn ich sendmail.exe nutze (was nach 24 stunden probleme macht) geht doch der direkte versand auch. gibt es da noch andere möglichkeiten? ich habe noch ein problem mit dem bcc das programm sendet zwar aber es kommen ein haufen mailer daemon emails von server zurück. hmm habe zwar gerade keine da (alle gelöscht) aber kann ich nachreichen.Weiil du eine dynamische Einwahl-IP hast, der gegnerische Server sieht diese und mag diese IPs nicht, da zu viel Spam / E-Mail-Würmer darüber versendet werden.
Code: Alles auswählen
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. The following addresses failed:
<postmaster@waldhufe.dyndns.org>
host waldhufe.dyndns.org[217.93.73.182]:
connection to mail exchanger failed
retry timeout exceeded
--- The header of the original message is following. ---
Received: from [217.93.73.139] (helo=festrechner)
by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis),
id 0ML25U-1GOHpB3xTQ-0007p5; Fri, 15 Sep 2006 19:50:02 +0200
Received: from localhost[127.0.0.1] (helo=) by localhost[127.0.0.1] with smtp (LANMailServer 1.20)
Date: Fri, 15 Sep 2006 19:51:43 +0200
Subject: Info Klassentreffen gesendet von Marco
To: postmaster@waldhufe.dyndns.org
From: "Info Klassentreffen www.domain.de.vu" <marco@domain.de>
X-PEERIP: 127.0.0.1
Bcc: server@domain.de, server@domain.de
X-SMTP-Server: LANMailServer 1.20
X-Sender: D-0999-007115
Message-ID: <0ML25U-1GOHpB3xTQ-0007p5@mrelayeu.kundenserver.de>
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:7fdf7a519077cbac3aa117e9dc093ce5
Code: Alles auswählen
$an = implode(", ", $emailarray);
//echo $an;
$haeders = "Return-Path: server@domain.de\\r\\n";
$headers .= "Reply-To: klassentreffen@domain.de\\r\\n";
$headers .= "From: www.domain.vu <klassentreffen@marco-doki.de>\\r\\n";
$headers .= "MIME-Version: 1.0\\r\\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\\r\\n";
$headers .= "bcc: $an\\r\\n";
//$headers .= "cc: webmaster@domain.de\\r\\n";
$nachrichthtml = "
<html>
<head>
<!--link href=\\"http://klassentreffen.waldhufe.dyndns.org/css/klassentreffen.css\\" type=\\"text/css\\" rel=\\"stylesheet\\"-->
<title>Newsletter</title>
</head>
<body>
<table width=\\"100%\\"><tr><td align=\\"center\\"><br><br>
<table width=\\"70%\\">
<tr><td align=\\"left\\">
<p class=\'text\'>".nl2br($mitteilung)."</p>
<br><br>
<p>--------------------------------------------------------------------------------<br>
Diese Nachricht wurde durch $von gesendet.</p>
</td></tr>
</table>
</td></tr></table>
</body>
</html>
";
mail("postmaster@waldhufe.dyndns.org", $betreffzeile, $nachrichthtml, $headers);
Code: Alles auswählen
mail("postmaster@waldhufe.dyndns.org", "Formulardaten von www.marco-doki.de", $text, "From: $email\\r\\nBcc: admin@waldhufe.de") or die("<html><head><meta http-equiv=\\"refresh\\" target=\\"_parent\\" content=\\"1; URL=index.php?seite=startseite&menue=start\\"></head></html>");
Code: Alles auswählen
Warning: mail() [function.mail]: SMTP server response: 500 admin@waldhufe.de; server@waldhufe.de Address Error in E:\\webserver\\marco\\email_senden.php on line 11
Du musst ne richtige Domain angeben, ansonsten nimmt der externe Mailserver die E-Mails nicht an bzw. sendet diese auf den eigenen Server nach localhost.habe ich installiert sogar komplett neu und was soll ich sagen geht immer noch nicht!
das problem ist folgendes ich nutze für den versand ins internet den smtp server von 1und1. zugangsdaten sind im lanmailserver eingestellt. wenn ich mit outlook eine mail mit absender postmaster@localhost an meine email sende kommt die an sogar wenn ich bcc postmaster@... mache kommt die local auch an, aber wenn ich eine email als bcc nehme die nicht local ist geht die nicht raus genau wie vorher cc geht bcc nicht. hmmm was nun?
Weiil du eine dynamische Einwahl-IP hast, der gegnerische Server sieht diese und mag diese IPs nicht, da zu viel Spam / E-Mail-Würmer darüber versendet werden.warum geht die einstellung direkter versand nicht bei einer dyndns adresse was ist da mit diesem sorbs?
Danke schön.Alles gute zum Geburtstag! :i_drink:
Code: Alles auswählen
127.0.0.1:1195 Stat Connected.
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 220 Welcome to LANMailServer 1.20 SMTP-Server<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: EHLO festrechner<EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 250-Hello festrechner<EOL>250-AUTH LOGIN<EOL>250 ENHANCEDSTATUSCODES<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: AUTH LOGIN<EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 334 VXNlcm5hbWU6<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: cG9zdG1hc3Rlcg==<EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 334 UGFzc3dvcmQ6<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: c3V6dWtp<EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 235 2.7.0 welcome postmaster<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: MAIL FROM: <postmaster@waldhufe.dyndns.org><EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 250 2.1.0 postmaster@aaa.org Address Okay<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: RCPT TO: <lugau45@aaa.de><EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 250 2.1.5 lugau45@aaa.de Address Okay<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: RCPT TO: <admin@bbb.de><EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 250 2.1.5 admin@bbb.de Address Okay<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: RCPT TO: <server@ccc.de><EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 250 2.1.5 server@ccc.de Address Okay<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: RSET<EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 250 Ok<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:25: RSET<EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:25: 250 Ok<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:27: MAIL FROM: <postmaster@aaa.org><EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:27: 250 2.1.0 postmaster@aaa.org Address Okay<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:27: RCPT TO: <lugau45@aaa.de><EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:27: 250 2.1.5 lugau45@aaa.de Address Okay<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:27: RCPT TO: <admin@bbb.de><EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:27: 250 2.1.5 admin@bbb.de Address Okay<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:27: RCPT TO: <server@ccc.de><EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:27: 250 2.1.5 server@ccc.de Address Okay<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:27: DATA<EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:27: 354 Start mail input; end with <CRLF>.<CRLF><EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:27: Message-ID: <000c01c6d84e$12b26e10$02b2a8c0@festrechner><EOL>From: "Marco" <postmaster@aaa.org><EOL>To: <lugau45@aaa.de><EOL>Cc: <admin@bbb.de><EOL>Subject: test<EOL>Date: Fri, 15 Sep 2006 00:35:25 +0200<EOL>MIME-Version: 1.0<EOL>Content-Type: multipart/alternative;<EOL> boundary="----=_NextPart_000_0009_01C6D85E.D5FF94A0"<EOL>X-Priority: 3<EOL>X-MSMail-Priority: Normal<EOL>X-Mailer: Microsoft Outlook Express 6.00.2900.2869<EOL>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962<EOL><EOL>This is a multi-part message in MIME format.<EOL><EOL>------=_NextPart_000_0009_01C6D85E.D5FF94A0<EOL>Content-Type: text/plain;<EOL> charset="iso-8859-1"<EOL>Content-Transfer-Encoding: quoted-printable<EOL><EOL>tdtsdf<EOL>------=_NextPart_000_0009_01C6D85E.D5FF94A0<EOL>Content-Type: text/html;<EOL> charset="iso-8859-1"<EOL>Content-Transfer-Encoding: quoted-printable<EOL><EOL><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><EOL><HTML><HEAD><EOL><META http-equiv=3DContent-Type content=3D"text/html; =<EOL>charset=3Diso-8859-1"><EOL><META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR><EOL><STYLE></STYLE><EOL></HEAD><EOL><BODY bgColor=3D#e7effe><EOL><DIV><FONT face=3DArial size=3D2>tdtsdf</FONT></DIV></BODY></HTML><EOL><EOL>------=_NextPart_000_0009_01C6D85E.D5FF94A0--<EOL><EOL><EOL>.<EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:27: 250 Ok<EOL>
127.0.0.1:1195 Recv 15.09.2006 00:35:28: QUIT<EOL>
127.0.0.1:1195 Sent 15.09.2006 00:35:28: 221 Signing Off<EOL>
127.0.0.1:1195 Stat Disconnected.
0.0.0.0:0 Stat Disconnected.