Changeset 121 for branches/dev/html


Ignore:
Timestamp:
2007/01/27 13:56:33 (16 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/test/uehara/mail.php

    r109 r121  
    11<?php 
    22 
    3 require_once("../../require.php"); 
    4  
    5 mb_send_mail( $_REQUEST['email'], "test!!", "test"); 
    6 /* 
    7 //¥Ç¡¼¥¿¼õ¿® 
    8 $subject = "Support Of Duddy"; 
    9 //$address = $_POST['val1'];        //¥¢¥É¥ì¥¹³ÊǼ 
    10 $address = "Katsuya_Uehara@lockon.co.jp";       //¥¢¥É¥ì¥¹³ÊǼ 
    11 $message = $_REQUEST['val2'].": test!!";        //ËÜʸ³ÊǼ 
    12  
    13 //¥á¡¼¥ëÁ÷¿® 
    14 $success = mail($address, $subject, $message); 
    15 if($success){ 
    16     //Á÷¿®À®¸ù 
    17     $flg = 0; 
    18 //  print "Á÷¿®À®¸ù"; 
    19 }else{ 
    20     //Á÷¿®¼ºÇÔ 
    21     $flg = 1; 
    22 //  print "Á÷¿®¼ºÇÔ"; 
    23 } 
    24  
     3$result = mb_send_mail( $_POST['email'], $_POST['subject'], $_POST['body']); 
    254 
    265//FLASH¤ØÃͤòÁ÷¿®(À®¸ù = 0, ¼ºÇÔ = 1) 
    27 print "trans=".$_REQUEST['val2']; 
    28 */ 
    29  
    30 echo "trans=". $_REQUEST['email']; 
     6echo "trans=". $result; 
    317 
    328 
Note: See TracChangeset for help on using the changeset viewer.