<?
#function mmail($to, $from, $subject, $body) {
# $from = convert_cyr_string($from, "w", "k");
# $headers = "From: <$from>\\n";
$headers = "Return-path: <alan>\\n";
$headers = "Content-Type: text/html; charset=windows-1251\\n";
$headers = convert_cyr_string($headers, "k", "w");
# $body = str_replace("\\n", "
", $body);
# $body = convert_cyr_string($body, "w", "k");
# $to = convert_cyr_string($to, "w", "k");
# $subject = convert_cyr_string($subject, "w", "k");
# $from="alan@alba.dp.ua";
$body="Текст письма";
$to="alan@alba.dp.ua";
$subject="Тема письма";
# return mail($to, $subject, $body, $headers);
#}
mail($to, $subject, $body, $headers);
?>