« Presentation - What value can learning technologies add to student learning when embedded within the curriculum & integrated within flexible learning spaces? | Main | Academi version of add_update_functions »
April 15, 2008
Coniston version of email_functions with BCC
function get_mail_headers($from){ $boundary = "boundary_".mktime(); $headers['boundary'] = '--'.$boundary; $headers['endary'] = '--'.$boundary.'--'; $head = array(); $head[] = 'MIME-Version: 1.0'; $head[] = "From : ".$from; $head[] = "Bcc : ".$from; $head[] = 'Content-Type: multipart/mixed; '."\r\n\t".'boundary="'.$boundary.'"'; $head[] = 'Content-Transfer-Encoding: 8bit'; $head[] = "\r\n"; $headers['head'] = $head; $headers['printable'] = implode("\r\n", $headers['head']); return $headers; }
Posted by pj at April 15, 2008 04:18 PM