zgodnie z tym co znalazłem na forum, poprawiłem skrypt mailowy (dodałem Content-type: text/html; charset=UTF-8)
<? // Replace this with your own email address $to="dominik@adddd.pl"; // Extract form contents $name = $_POST['name']; $email = $_POST['email']; $website = $_POST['website']; $subject = $_POST['subject']; $message = $_POST['message']; // Validate email address function valid_email($str) { return ( ! preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $str)) ? FALSE : TRUE; } // Return errors if present $errors = ""; if($name =='') { $errors .= "name,"; } if(valid_email($email)==FALSE) { $errors .= "email,"; } if($message =='') { $errors .= "message,"; } // Send email if($errors =='') { $headers = "Content-type: text/html; charset=UTF-8 \r\n"; $headers = 'Od: add <no-reply@add.com>'. "\r\n" . 'Reply-To: '.$email.'' . "\r\n" . $email_subject = "Website Contact Form: $email"; $message="Wiadomosc od: $name \n\nEmail: $email \n\nWebsite: $website \n\nSubject: $subject \n\nMessage:\n\n $message"; } else { } ?>
Tak czy tak, nadal niema polskich znaków tylko krzaczki i kwadraty.
Z góry dziękuję za pomoc
