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

Revision 7039, 488 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", "UTF-8");
4ini_set("mbstring.http_output", "UTF-8");
5
6phpinfo();
7
8$to = "[email protected]";
9//$body = "¥Æ¥¹¥È¤Ç¤¹¡£¥¢¥¤¥¦¥í¥¨??????¼ô??";
10$body = "¤¢¤¢";
11
12$body = mb_convert_encoding($body, 'UTF-8');
13
14print("<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'></head><body>\n");
15print("<b>" . $body . "</b>");
16
17echo("</body></html>");
18
19/*
20mb_language("uni");
21
22if(mb_send_mail($to, "test", $body)){
23    print("ok");
24}
25*/
26
27
28
29?>
Note: See TracBrowser for help on using the repository browser.