Skip to content

Instantly share code, notes, and snippets.

View webestet's full-sized avatar

Krab webestet

  • St. Peterburg, Russia
View GitHub Profile
Создать файл test.php c кодом (затем перейти для проверки по адресу www.your-domen.ru/test.php):
<?php
function mail_utf8($to, $subject = '(No subject)', $message = '', $from) {
$header = 'MIME-Version: 1.0' . "\n" . 'Content-type: text/plain; charset=UTF-8'
. "\n" . 'From: Yourname <' . $from . ">\n";
return mail($to, '=?UTF-8?B?'.base64_encode($subject).'?=', $message, $header);
}
@webestet
webestet / SassMeister-input-HTML.html
Last active November 26, 2015 13:24
Generated by SassMeister.com.
<html>
<head></head>
<body></body>
</html>