/[LeafOK_CVS]/pvpgn-1.7.4/utils/lib/send_mail.inc.php
ViewVC logotype

Diff of /pvpgn-1.7.4/utils/lib/send_mail.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 by sysadm, Tue Mar 6 13:40:07 2007 UTC Revision 1.3 by sysadm, Tue Mar 6 14:32:58 2007 UTC
# Line 32  function send_mail_do($db_conn) Line 32  function send_mail_do($db_conn)
32          {          {
33                  $recipients = $row["toemail"];                  $recipients = $row["toemail"];
34    
35                  $headers['From']    = "\"".$row["fromname"]."\" <".$row["fromemail"].">";                  $headers['From']    = "\"=?GB2312?B?".base64_encode($row["fromname"])."?=\" <".$row["fromemail"].">";
36                  $headers['To']      = "\"".$row["toname"]."\" <".$row["toemail"].">";                  $headers['To']      = "\"=?GB2312?B?".base64_encode($row["toname"])."?=\" <".$row["toemail"].">";
37                  $headers['Subject'] = $row["subject"];                  $headers['Subject'] = "=?GB2312?B?".base64_encode($row["subject"])."?=";
38    
39                  $body = $row["body"];                  $body = $row["body"];
40    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1