source: temp/trunk/html/test/naka/mail.php @ 7042

Revision 7042, 535 bytes checked in by naka, 20 years ago (diff)

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2
3ini_set("mbstring.http_input", "EUC-JP");
4ini_set("mbstring.http_output", "UTF-8");
5ini_set("mbstring.internal_encoding", "UTF-8");
6
7$to = "[email protected]";
8//$body = "¥Æ¥¹¥È¤Ç¤¹¡£¥¢¥¤¥¦¥í¥¨??????¼ô??";
9$body = "¤¢¤¢";
10
11$body = mb_convert_encoding($body, 'UTF-8', "EUC-JP");
12
13print("<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'></head><body>\n");
14print("<b>" . $body . "</b>");
15
16echo("</body></html>");
17
18/*
19mb_language("uni");
20
21if(mb_send_mail($to, "test", $body)){
22    print("ok");
23}
24*/
25
26
27
28?>
Note: See TracBrowser for help on using the repository browser.