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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,162
13년 전 조회 1,678
13년 전 조회 619
13년 전 조회 2,946
13년 전 조회 649
13년 전 조회 843
13년 전 조회 638
13년 전 조회 1,021
13년 전 조회 953
13년 전 조회 1,221
13년 전 조회 744
13년 전 조회 1,817
13년 전 조회 1,452
13년 전 조회 1,038
13년 전 조회 6,716
13년 전 조회 639
13년 전 조회 1,007
13년 전 조회 850
13년 전 조회 990
13년 전 조회 1,275
13년 전 조회 870
13년 전 조회 1,129
13년 전 조회 714
13년 전 조회 739
13년 전 조회 1,261
13년 전 조회 3,124
13년 전 조회 696
13년 전 조회 2,119
13년 전 조회 898
13년 전 조회 797
13년 전 조회 1,691
13년 전 조회 1,616
13년 전 조회 631
13년 전 조회 1,534
13년 전 조회 1,964
13년 전 조회 1,359
13년 전 조회 619
13년 전 조회 2,030
13년 전 조회 832
13년 전 조회 613
13년 전 조회 582
13년 전 조회 1,303
13년 전 조회 1,683
13년 전 조회 1,156
13년 전 조회 644
13년 전 조회 785
13년 전 조회 1,276
13년 전 조회 1,228
13년 전 조회 563
13년 전 조회 3,369
13년 전 조회 1,222
13년 전 조회 4,393
13년 전 조회 795
13년 전 조회 1,782
13년 전 조회 851
13년 전 조회 762
13년 전 조회 1,667
13년 전 조회 644
13년 전 조회 1,605
13년 전 조회 710
13년 전 조회 1,488
13년 전 조회 1,012
13년 전 조회 4,066
13년 전 조회 2,060
13년 전 조회 892
13년 전 조회 706
13년 전 조회 1,281
13년 전 조회 909
13년 전 조회 1,043
13년 전 조회 2,135
13년 전 조회 786
13년 전 조회 2,839
13년 전 조회 2,831
13년 전 조회 1,097
13년 전 조회 798
13년 전 조회 2,337
13년 전 조회 915
13년 전 조회 1,169
13년 전 조회 701
13년 전 조회 1,827
13년 전 조회 1,118
13년 전 조회 1,173
13년 전 조회 1,520
13년 전 조회 621
13년 전 조회 3,689
13년 전 조회 933
13년 전 조회 1,812
13년 전 조회 1,309
13년 전 조회 689
13년 전 조회 4,667
13년 전 조회 541
13년 전 조회 2,655
13년 전 조회 1,005
13년 전 조회 674
13년 전 조회 1,042
13년 전 조회 7,809
13년 전 조회 992
13년 전 조회 2,079
13년 전 조회 1,519
13년 전 조회 1,058
🐛 버그신고