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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,161
13년 전 조회 1,678
13년 전 조회 617
13년 전 조회 2,944
13년 전 조회 646
13년 전 조회 842
13년 전 조회 637
13년 전 조회 1,017
13년 전 조회 952
13년 전 조회 1,220
13년 전 조회 744
13년 전 조회 1,815
13년 전 조회 1,449
13년 전 조회 1,037
13년 전 조회 6,714
13년 전 조회 636
13년 전 조회 1,005
13년 전 조회 850
13년 전 조회 990
13년 전 조회 1,274
13년 전 조회 867
13년 전 조회 1,127
13년 전 조회 713
13년 전 조회 737
13년 전 조회 1,261
13년 전 조회 3,123
13년 전 조회 693
13년 전 조회 2,118
13년 전 조회 895
13년 전 조회 796
13년 전 조회 1,691
13년 전 조회 1,612
13년 전 조회 629
13년 전 조회 1,531
13년 전 조회 1,964
13년 전 조회 1,357
13년 전 조회 619
13년 전 조회 2,027
13년 전 조회 832
13년 전 조회 610
13년 전 조회 580
13년 전 조회 1,302
13년 전 조회 1,683
13년 전 조회 1,153
13년 전 조회 642
13년 전 조회 783
13년 전 조회 1,273
13년 전 조회 1,226
13년 전 조회 563
13년 전 조회 3,365
13년 전 조회 1,222
13년 전 조회 4,393
13년 전 조회 793
13년 전 조회 1,781
13년 전 조회 848
13년 전 조회 762
13년 전 조회 1,666
13년 전 조회 643
13년 전 조회 1,604
13년 전 조회 708
13년 전 조회 1,486
13년 전 조회 1,012
13년 전 조회 4,063
13년 전 조회 2,060
13년 전 조회 891
13년 전 조회 704
13년 전 조회 1,281
13년 전 조회 908
13년 전 조회 1,041
13년 전 조회 2,133
13년 전 조회 784
13년 전 조회 2,839
13년 전 조회 2,830
13년 전 조회 1,097
13년 전 조회 794
13년 전 조회 2,336
13년 전 조회 913
13년 전 조회 1,169
13년 전 조회 700
13년 전 조회 1,824
13년 전 조회 1,118
13년 전 조회 1,172
13년 전 조회 1,519
13년 전 조회 620
13년 전 조회 3,688
13년 전 조회 933
13년 전 조회 1,812
13년 전 조회 1,306
13년 전 조회 685
13년 전 조회 4,666
13년 전 조회 539
13년 전 조회 2,653
13년 전 조회 1,005
13년 전 조회 673
13년 전 조회 1,040
13년 전 조회 7,807
13년 전 조회 988
13년 전 조회 2,074
13년 전 조회 1,519
13년 전 조회 1,056
🐛 버그신고