[PHP-users 28929] Vodafoneの3Gへ絵文字メールの送信

GAB php-users @ gabnet.jp
2006年 4月 4日 (火) 22:04:48 JST


$B=i$a$^$7$F!#(B
$B<ALd$J$N$G$9$,!"!!(Bhttp://pc.emojibin.jp/$B!!$J$I$r8+$F<+J,$bB><R%1!<%?%$$X3(J8(B
$B;z$rAw$l$k%W%m%0%i%`$r:n$j$?$$$H;W$$!"(B
$B:n$C$F$$$?$N$G$9$,!"(BVodafone$B$N(B2G$B$K$O3(J8;z$rAw$k$3$H$,$G$-$?$N$G$9$,!"(B3G$B$K$O(B
$BAw$k$3$H$,$G$-$^$;$s!#(B
$B0J2<%=!<%9$G$9!#(B

<?php
$send_to=$B08 @ h(B
$send_title=$BBjL>(B
$send_body="\\$Gj\";
$send_from=$BAw?.85(B
mb_language("Japanese");
mb_internal_encoding("SJIS");
mb_detect_order("ASCII, JIS, UTF-8, EUC-JP, SJIS");
$send_body=str_replace("\\","",$send_body);
$send_title = mb_convert_encoding($send_title, "JIS", "Shift-JIS");
$send_body = mb_convert_encoding($send_body, "JIS", "Shift-JIS");
$send_header = mb_convert_encoding($send_from, "JIS", "Shift-JIS");
$header = "FROM: {$send_header}\r\nContent-Type:
text/plain;charset=\"iso-2022-jp\"";
mail($send_to, $send_title, $send_body, $header);
?>

$B$3$l$G(B2G$B$K$OB @ M[$N3(J8;z$,Aw$l$?$H;W$&$N$G$9!"(B3G$B$O%@%a$G$7$?!#(B
2G$B$H(B3G$B$G3(J8;z$NJ}<0!)$,JQ$o$C$F$$$k$N$@$H;W$$$^$9$,!"(B3G$B$N>pJs$,$J$+$J$+8+$D(B
$B$+$j$^$;$s!#(B
Vine Linux3.2$B!"(BPHP4.4.2 $B%=!<%9$OA4$F(BShift-JIS$B$G5-=R$7$F$$$^$9!#(B
$B=u8 @ Ey$*4j$$$7$^$9!#(B




PHP-users メーリングリストの案内