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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,198
13년 전 조회 1,709
13년 전 조회 661
13년 전 조회 2,982
13년 전 조회 691
13년 전 조회 892
13년 전 조회 682
13년 전 조회 1,063
13년 전 조회 1,003
13년 전 조회 1,260
13년 전 조회 783
13년 전 조회 1,855
13년 전 조회 1,485
13년 전 조회 1,071
13년 전 조회 6,758
13년 전 조회 671
13년 전 조회 1,041
13년 전 조회 877
13년 전 조회 1,031
13년 전 조회 1,310
13년 전 조회 912
13년 전 조회 1,173
13년 전 조회 753
13년 전 조회 779
13년 전 조회 1,296
13년 전 조회 3,168
13년 전 조회 732
13년 전 조회 2,159
13년 전 조회 935
13년 전 조회 829
13년 전 조회 1,727
13년 전 조회 1,653
13년 전 조회 661
13년 전 조회 1,573
13년 전 조회 1,997
13년 전 조회 1,400
13년 전 조회 653
13년 전 조회 2,067
13년 전 조회 867
13년 전 조회 647
13년 전 조회 620
13년 전 조회 1,337
13년 전 조회 1,718
13년 전 조회 1,188
13년 전 조회 680
13년 전 조회 818
13년 전 조회 1,311
13년 전 조회 1,266
13년 전 조회 599
13년 전 조회 3,398
13년 전 조회 1,253
13년 전 조회 4,424
13년 전 조회 828
13년 전 조회 1,822
13년 전 조회 898
13년 전 조회 803
13년 전 조회 1,706
13년 전 조회 683
13년 전 조회 1,641
13년 전 조회 743
13년 전 조회 1,516
13년 전 조회 1,044
13년 전 조회 4,099
13년 전 조회 2,100
13년 전 조회 925
13년 전 조회 740
13년 전 조회 1,305
13년 전 조회 943
13년 전 조회 1,080
13년 전 조회 2,172
13년 전 조회 814
13년 전 조회 2,881
13년 전 조회 2,863
13년 전 조회 1,126
13년 전 조회 822
13년 전 조회 2,363
13년 전 조회 953
13년 전 조회 1,198
13년 전 조회 735
13년 전 조회 1,859
13년 전 조회 1,151
13년 전 조회 1,208
13년 전 조회 1,557
13년 전 조회 650
13년 전 조회 3,723
13년 전 조회 971
13년 전 조회 1,852
13년 전 조회 1,347
13년 전 조회 722
13년 전 조회 4,707
13년 전 조회 571
13년 전 조회 2,687
13년 전 조회 1,028
13년 전 조회 704
13년 전 조회 1,071
13년 전 조회 7,840
13년 전 조회 1,023
13년 전 조회 2,112
13년 전 조회 1,553
13년 전 조회 1,096
🐛 버그신고