Ignore:
Timestamp:
2007/05/21 21:11:34 (15 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/mail/sendmail.php

    r13218 r13219  
    8383            //$objSite->data["company_name"] = ereg_replace("<","¡ã", $from_name); 
    8484            //$objSite->data["company_name"] = ereg_replace(">","¡ä", $from_name); 
    85             //$objSite->data["company_name"] = mb_convert_encoding($from_name,"JIS",CHAR_CODE); 
     85            //$objSite->data["company_name"] = Mb_encode_mimeheader(mb_convert_encoding($from_name,"JIS",CHAR_CODE)); 
    8686            //iso-2022-jp¤À¤ÈÆüìʸ»ú¤¬¡©¤ÇÁ÷¿®¤µ¤ì¤ë¤Î¤ÇJIS¤ò»ÈÍѤ¹¤ë¡£ 
    8787            $subjectBody = mb_encode_mimeheader($subjectBody); 
    8888            $mailBody = mb_convert_encoding($mailBody, "JIS", CHAR_CODE ); 
    8989            $headers = array(  
    90                                 "to"    => $list_data[$i][$j]["email"]   //¡¡¸ÜµÒ°¸Àè  
    91                              ,"subject" => $subjectBody                  //¡¡Subject   
    92                          ,"fromaddress" => $objSite->data["email03"]     //¡¡Á÷¿®¸µ¥á¡¼¥ë¥¢¥É¥ì¥¹  
    93                            ,"from_name" => $objSite->data["company_name"]//¡¡Á÷¿®¸µÌ¾  
    94                            ,"replay_to" => $objSite->data["email03"]     //¡¡reply_to  
    95                          ,"return_path" => $objSite->data["email04"]     //¡¡return_path  
     90                     "to"    => $list_data[$i][$j]["email"]   //¡¡¸ÜµÒ°¸Àè  
     91                  ,"subject" => $subjectBody                  //¡¡Subject   
     92                     ,"from" => "From: ".$objSite->data["company_name"]."<". 
     93                     ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡$objSite->data["email03"].">\n"//Á÷¿®¸µÌ¾Á°¡õ¥á¡¼¥ë¥¢¥É¥ì¥¹ 
     94                ,"replay_to" => "Reply-To: ".$objSite->data["email03"]     //¡¡reply_to  
     95              ,"return_path" => $objSite->data["email04"]     //¡¡return_path  
    9696                                                                       ); 
    9797            print_r($headers); 
Note: See TracChangeset for help on using the changeset viewer.