รถเช่า ประเภทต่างๆ
รถเช่า จังหวัด
แก้อีเมล์ภาษาไทย smf
วันที่: 07/06/2010
เวลา: 08:45:49
พอดีไปเจอของคุณ อดิศร มา เลยเอามาเก็บไว้ในบล็อกสักหน่อยดีกว่า เผื่อจำเป็นต้องใช้
ให้เปิดไฟล์ Sources/Subs-Post.php
และค้นหา
1.// Sadly Hotmail & Yahoomail
don''t support character sets properly.แล้วทำการลบ code ด้านล่างนี้ทิ้งไป หรือจะคอมเม้น เอาไว้ก็ได้ครับ
01.// Sadly Hotmail & Yahoomail
don''t support character sets properly.02.if ($hotmail_fix === null)03.{04.$hotmail_to = array();05.foreach ($to_array as $i => $to_address)06.{07.if (preg_match(''~@(yahoo|hotmail)\.[a-zA-Z\.]{2,6}$~i'', $to_address) === 1)08.{09.$hotmail_to[] = $to_address;10.$to_array = array_diff($to_array, array($to_address));11.}12.}13. 14.// Call this function recursively for the hotmail
addresses.15.if (!empty($hotmail_to))16.$mail_result
= sendmail($hotmail_to, $subject, $message, $from, $message_id, $send_html, $priority, true);17. 18.// The remaining addresses no longer need the fix.19.$hotmail_fix = false;20. 21.// No other addresses left? Return instantly.22.if (empty($to_array))23.return $mail_result;24.}ที่มา http://www.thaihosttalk.com/index.php?topic=26879.0
ที่มา http://www.igolf.in.th/2010/0121
ความคิดเห็นทั้งหมด
ยังไม่มีความคิดเห็น มาร่วมแสดงความคิดเห็นเป็นคนแรกสิ!