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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,148
13년 전 조회 1,661
13년 전 조회 598
13년 전 조회 2,927
13년 전 조회 631
13년 전 조회 824
13년 전 조회 621
13년 전 조회 1,001
13년 전 조회 942
13년 전 조회 1,208
13년 전 조회 724
13년 전 조회 1,795
13년 전 조회 1,432
13년 전 조회 1,022
13년 전 조회 6,702
13년 전 조회 617
13년 전 조회 993
13년 전 조회 839
13년 전 조회 977
13년 전 조회 1,250
13년 전 조회 848
13년 전 조회 1,112
13년 전 조회 701
13년 전 조회 720
13년 전 조회 1,243
13년 전 조회 3,103
13년 전 조회 678
13년 전 조회 2,104
13년 전 조회 879
13년 전 조회 784
13년 전 조회 1,674
13년 전 조회 1,598
13년 전 조회 615
13년 전 조회 1,514
13년 전 조회 1,947
13년 전 조회 1,344
13년 전 조회 604
13년 전 조회 2,012
13년 전 조회 814
13년 전 조회 599
13년 전 조회 565
13년 전 조회 1,290
13년 전 조회 1,670
13년 전 조회 1,135
13년 전 조회 627
13년 전 조회 768
13년 전 조회 1,262
13년 전 조회 1,214
13년 전 조회 547
13년 전 조회 3,352
13년 전 조회 1,207
13년 전 조회 4,379
13년 전 조회 784
13년 전 조회 1,769
13년 전 조회 829
13년 전 조회 742
13년 전 조회 1,651
13년 전 조회 625
13년 전 조회 1,590
13년 전 조회 692
13년 전 조회 1,475
13년 전 조회 998
13년 전 조회 4,051
13년 전 조회 2,044
13년 전 조회 872
13년 전 조회 691
13년 전 조회 1,262
13년 전 조회 892
13년 전 조회 1,028
13년 전 조회 2,118
13년 전 조회 769
13년 전 조회 2,825
13년 전 조회 2,814
13년 전 조회 1,086
13년 전 조회 786
13년 전 조회 2,327
13년 전 조회 900
13년 전 조회 1,154
13년 전 조회 686
13년 전 조회 1,812
13년 전 조회 1,103
13년 전 조회 1,160
13년 전 조회 1,509
13년 전 조회 605
13년 전 조회 3,673
13년 전 조회 913
13년 전 조회 1,798
13년 전 조회 1,296
13년 전 조회 665
13년 전 조회 4,655
13년 전 조회 525
13년 전 조회 2,640
13년 전 조회 991
13년 전 조회 660
13년 전 조회 1,023
13년 전 조회 7,793
13년 전 조회 982
13년 전 조회 2,068
13년 전 조회 1,509
13년 전 조회 1,037
🐛 버그신고