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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,170
13년 전 조회 1,687
13년 전 조회 633
13년 전 조회 2,956
13년 전 조회 662
13년 전 조회 860
13년 전 조회 651
13년 전 조회 1,035
13년 전 조회 972
13년 전 조회 1,229
13년 전 조회 754
13년 전 조회 1,823
13년 전 조회 1,463
13년 전 조회 1,043
13년 전 조회 6,723
13년 전 조회 648
13년 전 조회 1,018
13년 전 조회 853
13년 전 조회 999
13년 전 조회 1,291
13년 전 조회 885
13년 전 조회 1,136
13년 전 조회 726
13년 전 조회 746
13년 전 조회 1,271
13년 전 조회 3,135
13년 전 조회 707
13년 전 조회 2,135
13년 전 조회 905
13년 전 조회 807
13년 전 조회 1,700
13년 전 조회 1,625
13년 전 조회 641
13년 전 조회 1,545
13년 전 조회 1,978
13년 전 조회 1,374
13년 전 조회 630
13년 전 조회 2,038
13년 전 조회 841
13년 전 조회 627
13년 전 조회 591
13년 전 조회 1,311
13년 전 조회 1,695
13년 전 조회 1,171
13년 전 조회 648
13년 전 조회 792
13년 전 조회 1,289
13년 전 조회 1,233
13년 전 조회 576
13년 전 조회 3,377
13년 전 조회 1,234
13년 전 조회 4,401
13년 전 조회 802
13년 전 조회 1,791
13년 전 조회 863
13년 전 조회 774
13년 전 조회 1,678
13년 전 조회 655
13년 전 조회 1,619
13년 전 조회 717
13년 전 조회 1,500
13년 전 조회 1,023
13년 전 조회 4,072
13년 전 조회 2,074
13년 전 조회 899
13년 전 조회 715
13년 전 조회 1,288
13년 전 조회 918
13년 전 조회 1,046
13년 전 조회 2,144
13년 전 조회 792
13년 전 조회 2,846
13년 전 조회 2,843
13년 전 조회 1,101
13년 전 조회 804
13년 전 조회 2,344
13년 전 조회 928
13년 전 조회 1,176
13년 전 조회 713
13년 전 조회 1,831
13년 전 조회 1,125
13년 전 조회 1,183
13년 전 조회 1,530
13년 전 조회 626
13년 전 조회 3,694
13년 전 조회 947
13년 전 조회 1,821
13년 전 조회 1,317
13년 전 조회 697
13년 전 조회 4,679
13년 전 조회 550
13년 전 조회 2,662
13년 전 조회 1,012
13년 전 조회 685
13년 전 조회 1,050
13년 전 조회 7,818
13년 전 조회 1,000
13년 전 조회 2,085
13년 전 조회 1,532
13년 전 조회 1,061
🐛 버그신고