1 2 3
<?php mail("test@mail.ru", "TEST", "Text: $txt", "content-type:text/plain; charset = windows-1251\r\n"); ?>