NullAhnung
Aktives Mitglied
hallo,
da bin ich mal wieder...
CODE <?php
//TESTMAIL verschicken
function mail_test($test){
$to = $test;
$betreff = "Ihre Zugangsdaten";
$from = "MIR";
$from .= "Content-Type: text/html\n";
$message = ' <p>
<? echo $_SESSION["IP"]; ?>
TEST</p>
<p>&nbsp;</p>
<p>TEST</p>
<p style="margin-bottom: 0px;">dfg</p> ';
$sent = mail($to, $betreff, $message, $from);
if($sent)
{print "Your mail was sent successfully"; }
else
{print "We encountered an error sending your mail"; }
}
?>
das mail kommt an... aber die $_SESSION["IP"] wird nicht angezeigt...
wahrscheinlich bin ich wieder zu blöd...?
da bin ich mal wieder...
CODE <?php
//TESTMAIL verschicken
function mail_test($test){
$to = $test;
$betreff = "Ihre Zugangsdaten";
$from = "MIR";
$from .= "Content-Type: text/html\n";
$message = ' <p>
<? echo $_SESSION["IP"]; ?>
TEST</p>
<p>&nbsp;</p>
<p>TEST</p>
<p style="margin-bottom: 0px;">dfg</p> ';
$sent = mail($to, $betreff, $message, $from);
if($sent)
{print "Your mail was sent successfully"; }
else
{print "We encountered an error sending your mail"; }
}
?>
das mail kommt an... aber die $_SESSION["IP"] wird nicht angezeigt...
wahrscheinlich bin ich wieder zu blöd...?