<?php $to = '[email protected]'; $subject = 'ارسال ایمیل'; //$subject=mb_convert_encoding($subject, "UTF-8","AUTO"); //$subject = mb_encode_mimeheader($subject); $message = '<div style="font-family:tahoma;color:red;">متن مورد نظر</div>'; $headers = 'MIME-Version: 1.0' . ""; $headers .= 'Content-type: text/html; charset=utf-8' . ""; $headers .= 'From: راوندی <[email protected]>' . ""; mail($to, $subject, $message, $headers); ?>از این دو دستور هم استفاده کردم ولی فایده ای نداشت:
$subject=mb_convert_encoding($subject, "UTF-8","AUTO"); $subject = mb_encode_mimeheader($subject);
- - , .
برچسب:
نویسنده: خنجی