| 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 |
|
|