Hi I want to send e mail
but, program get the errors
ERROR
Warning: mail() [function.mail]: SMTP server response: 554 <erhangursoy@yahoo.com>: Relay access denied in C:\wamp\www\email\Emailsend.php on line 27
MY code is
function Button1Click($sender, $params)
{
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-9' . "\r\n";
$headers .= 'To: Alıcı 1 <erhangursoy@yahoo.com>' . "\r\n";
$headers .= 'From: Yollayan Kişiyim <erhan@gursoy.gen.tr>' . "\r\n";
$headers .= 'Reply-To: Yanit E-Postasi <erhan@gursoy.gen.tr>' . "\r\n";
$headers .= 'X-Mailer: PHP/' . phpversion() . "\r\n";
//$headers .= 'Cc:
acikkopya@eposta.com' . "\r\n";
//$headers .= 'Bcc:
gizlikopya@eposta.com' . "\r\n";
$alici_eposta = 'erhangursoy@yahoo.com';
$eposta_konusu = 'Deneme HTML e-postası yolluyoruz';
$eposta_mesaji = '<b><i>Bu kalın ve italik olan bir HTML formatlı yazıdır.</i></b>';
mail($alici_eposta, $eposta_konusu, $eposta_mesaji, $headers);
}