Changeset 13225


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

Legend:

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

    r13224 r13225  
    8585            //$objSite->data["company_name"] = Mb_encode_mimeheader(mb_convert_encoding($from_name,"JIS",CHAR_CODE)); 
    8686            //iso-2022-jp¤À¤ÈÆüìʸ»ú¤¬¡©¤ÇÁ÷¿®¤µ¤ì¤ë¤Î¤ÇJIS¤ò»ÈÍѤ¹¤ë¡£ 
    87             $subjectBody = mb_encode_mimeheader($subjectBody); 
    88             $mailBody = mb_convert_encoding($mailBody, "JIS", CHAR_CODE ); 
    8987            $headers = array(  
    9088                       "to"    => $list_data[$i][$j]["email"]   //¡¡¸ÜµÒ°¸Àè  
    9189                    ,"subject" => $subjectBody                  //¡¡Subject   
    92                 ,"fromaddress" => $objSite->data["email03"]     //¡¡Á÷¿®¸µ¥á¡¼¥ë¥¢¥É¥ì¥¹  
    93                   ,"from_name" => $objSite->data["company_name"]//¡¡Á÷¿®¸µÌ¾  
     90                       ,"from" => $objSite->data["email03"]     //¡¡Á÷¿®¸µ¥á¡¼¥ë¥¢¥É¥ì¥¹  
    9491                  ,"replay_to" => $objSite->data["email03"]     //¡¡reply_to  
    9592                ,"return_path" => $objSite->data["email04"]     //¡¡return_path  
     
    103100                                                         );  
    104101             
     102            $headers["subject"] = mb_convert_encoding($headers["Subject"], "JIS", CHAR_CODE ); 
     103            $mailBody = mb_convert_encoding($mailBody, "JIS", CHAR_CODE ); 
     104             
    105105            $mail_obj =& Mail::factory("smtp", $param); 
    106106            print_r($mail_obj);   
Note: See TracChangeset for help on using the changeset viewer.