Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/admin/mailgonderildi.php
<?php include 'header.php'; ?>
<div align="center">
<?php

$mailadr = $_POST['mmail'];
$mailkonu = $_POST['mailkonu'];
$mailic = $_POST['mailicerik'];
$sistemmail = "hide@address.com";
$ekstra = "From: $sistemmail\n";
$ekstra .= "Content-Type: text/html; charset=ISO-8859-9\n";
$ekstra .= "MIME-Version: 1.0\n";

$yolla = mail($mailadr,$mailkonu,$mailic,$ekstra);

if($yolla){
echo '<img src="img/meklendi.png" id="eklendi" alt="eklendi" width="48" height="48" /><br /> <h2>Mail Baþarýyla Gönderildi.</h2> <br />';
}else{
echo '<img src="img/meklenemedi.png" id="eklendi" alt="eklendi" width="48" height="48" /><br /> <h2>Mail Gönderilemedi.</h2> <br />';
}

?>
</div>
<?php include 'footer.php'; ?>




Return current item: MythPHP