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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,176
13년 전 조회 1,693
13년 전 조회 644
13년 전 조회 2,966
13년 전 조회 672
13년 전 조회 867
13년 전 조회 660
13년 전 조회 1,043
13년 전 조회 987
13년 전 조회 1,241
13년 전 조회 762
13년 전 조회 1,834
13년 전 조회 1,469
13년 전 조회 1,048
13년 전 조회 6,733
13년 전 조회 656
13년 전 조회 1,024
13년 전 조회 861
13년 전 조회 1,011
13년 전 조회 1,299
13년 전 조회 888
13년 전 조회 1,146
13년 전 조회 733
13년 전 조회 757
13년 전 조회 1,277
13년 전 조회 3,144
13년 전 조회 710
13년 전 조회 2,141
13년 전 조회 919
13년 전 조회 814
13년 전 조회 1,707
13년 전 조회 1,631
13년 전 조회 645
13년 전 조회 1,554
13년 전 조회 1,982
13년 전 조회 1,382
13년 전 조회 633
13년 전 조회 2,047
13년 전 조회 847
13년 전 조회 637
13년 전 조회 596
13년 전 조회 1,318
13년 전 조회 1,700
13년 전 조회 1,174
13년 전 조회 663
13년 전 조회 801
13년 전 조회 1,297
13년 전 조회 1,243
13년 전 조회 581
13년 전 조회 3,383
13년 전 조회 1,244
13년 전 조회 4,404
13년 전 조회 815
13년 전 조회 1,798
13년 전 조회 879
13년 전 조회 782
13년 전 조회 1,687
13년 전 조회 661
13년 전 조회 1,629
13년 전 조회 724
13년 전 조회 1,505
13년 전 조회 1,026
13년 전 조회 4,079
13년 전 조회 2,079
13년 전 조회 905
13년 전 조회 721
13년 전 조회 1,291
13년 전 조회 925
13년 전 조회 1,054
13년 전 조회 2,153
13년 전 조회 799
13년 전 조회 2,854
13년 전 조회 2,848
13년 전 조회 1,107
13년 전 조회 808
13년 전 조회 2,347
13년 전 조회 933
13년 전 조회 1,182
13년 전 조회 719
13년 전 조회 1,838
13년 전 조회 1,130
13년 전 조회 1,186
13년 전 조회 1,535
13년 전 조회 633
13년 전 조회 3,701
13년 전 조회 950
13년 전 조회 1,830
13년 전 조회 1,327
13년 전 조회 702
13년 전 조회 4,683
13년 전 조회 554
13년 전 조회 2,670
13년 전 조회 1,012
13년 전 조회 690
13년 전 조회 1,056
13년 전 조회 7,823
13년 전 조회 1,003
13년 전 조회 2,096
13년 전 조회 1,541
13년 전 조회 1,070
🐛 버그신고