이메일 한글 깨짐 처리입니다.

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 15포인트 부족한데, 추천좀 부탁드릴께요.. 추천하시는 분들 복받으실 겁니다.
 

function send_mail($to_email,$from_email,$form_name,$subject,$mybody,$type) {
        //$charset='EUC-KR';
        $charset='UTF-8';
        if( $charset !='UTF-8' )
                $encoded_body = iconv('UTF-8', $charset, str_replace("UTF-8", $charset, $mybody));
        else
                $encoded_body = $mybody;
        $from = "\"=?".$charset."?B?".base64_encode($form_name)."?=\" <".$from_email.">" ; // 인코딩된 보내
는이
        $encoded_subject = "=?".$charset."?B?".base64_encode($subject)."?=\n";
        $headers = "MIME-Version: 1.0\r\n";
        $header .= "Content-Type: text/html;charset=$charset;format=flowed\n";
        $header .= "Content-Transfer-Encoding: 8bit\n";
        $header .= "From: $from\n";
        $header .= "Return-Path: $from\n";
        $mybody = stripslashes($mybody);
  @mail($to_email, $encoded_subject,$encoded_body,$header);
|

댓글 1개

추천합니다.
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
13년 전 조회 1,238
13년 전 조회 1,754
13년 전 조회 693
13년 전 조회 3,021
13년 전 조회 730
13년 전 조회 936
13년 전 조회 725
13년 전 조회 1,097
13년 전 조회 1,038
13년 전 조회 1,300
13년 전 조회 826
13년 전 조회 1,889
13년 전 조회 1,523
13년 전 조회 1,115
13년 전 조회 6,800
13년 전 조회 711
13년 전 조회 1,079
13년 전 조회 911
13년 전 조회 1,073
13년 전 조회 1,352
13년 전 조회 949
13년 전 조회 1,210
13년 전 조회 787
13년 전 조회 810
13년 전 조회 1,338
13년 전 조회 3,218
13년 전 조회 765
13년 전 조회 2,201
13년 전 조회 979
13년 전 조회 874
13년 전 조회 1,765
13년 전 조회 1,697
13년 전 조회 706
13년 전 조회 1,613
13년 전 조회 2,038
13년 전 조회 1,449
13년 전 조회 703
13년 전 조회 2,111
13년 전 조회 916
13년 전 조회 695
13년 전 조회 656
13년 전 조회 1,380
13년 전 조회 1,769
13년 전 조회 1,236
13년 전 조회 720
13년 전 조회 859
13년 전 조회 1,343
13년 전 조회 1,302
13년 전 조회 641
13년 전 조회 3,433
13년 전 조회 1,299
13년 전 조회 4,462
13년 전 조회 868
13년 전 조회 1,861
13년 전 조회 945
13년 전 조회 846
13년 전 조회 1,755
13년 전 조회 718
13년 전 조회 1,690
13년 전 조회 778
13년 전 조회 1,559
13년 전 조회 1,091
13년 전 조회 4,149
13년 전 조회 2,149
13년 전 조회 968
13년 전 조회 798
13년 전 조회 1,356
13년 전 조회 990
13년 전 조회 1,121
13년 전 조회 2,209
13년 전 조회 867
13년 전 조회 2,922
13년 전 조회 2,917
13년 전 조회 1,170
13년 전 조회 877
13년 전 조회 2,401
13년 전 조회 1,001
13년 전 조회 1,254
13년 전 조회 776
13년 전 조회 1,902
13년 전 조회 1,200
13년 전 조회 1,255
13년 전 조회 1,586
13년 전 조회 691
13년 전 조회 3,766
13년 전 조회 1,027
13년 전 조회 1,896
13년 전 조회 1,392
13년 전 조회 766
13년 전 조회 4,739
13년 전 조회 614
13년 전 조회 2,735
13년 전 조회 1,075
13년 전 조회 741
13년 전 조회 1,117
13년 전 조회 7,884
13년 전 조회 1,055
13년 전 조회 2,142
13년 전 조회 1,593
13년 전 조회 1,136
🐛 버그신고