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

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