greetings to all
$to = $massiv["to"]; $subject = $massiv["subject"]; $message = $massiv["message"]; $mailheaders = "Content-type: text/html; charset=windows-1251 \r\n"; $mailheaders .= "From: mysite.ru <no-reply@mysite.ru>"; $mailheaders .= "Reply-To: mysite.ru"; mail($to, $subject, $message, $mailheaders);
Something like sending a letter. Is there any way to specify the encoding in the header of the letter?