ÿØÿàJFIFÿþ ÿÛC       ÿÛC ÿÀÿÄÿÄ"#QrÿÄÿÄ&1!A"2qQaáÿÚ ?Øy,æ/3JæÝ¹È߲؋5êXw²±ÉyˆR”¾I0ó2—PI¾IÌÚiMö¯–þrìN&"KgX:Šíµ•nTJnLK„…@!‰-ý ùúmë;ºgµŒ&ó±hw’¯Õ@”Ü— 9ñ-ë.²1<yà‚¹ïQÐU„ہ?.’¦èûbß±©Ö«Âw*VŒ) `$‰bØÔŸ’ëXÖ-ËTÜíGÚ3ð«g Ÿ§¯—Jx„–’U/ÂÅv_s(Hÿ@TñJÑãõçn­‚!ÈgfbÓc­:él[ðQe 9ÀPLbÃãCµm[5¿ç'ªjglå‡Ûí_§Úõl-;"PkÞÞÁQâ¼_Ñ^¢SŸx?"¸¦ùY騐ÒOÈ q’`~~ÚtËU¹CڒêV  I1Áß_ÿÙ PHPMailer Lite - DKIM and Callback Function test \n"; return true; } $testLite = false; if ($testLite) { require_once '../class.phpmailer-lite.php'; $mail = new PHPMailerLite(); } else { require_once '../class.phpmailer.php'; $mail = new PHPMailer(); } try { $mail->IsMail(); // telling the class to use SMTP $mail->SetFrom('you@yourdomain.com', 'Your Name'); $mail->AddAddress('another@yourdomain.com', 'John Doe'); $mail->Subject = 'PHPMailer Lite Test Subject via Mail()'; $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically $mail->MsgHTML(file_get_contents('contents.html')); $mail->AddAttachment('images/phpmailer.gif'); // attachment $mail->AddAttachment('images/phpmailer_mini.gif'); // attachment $mail->action_function = 'callbackAction'; $mail->Send(); echo "Message Sent OK

\n"; } catch (phpmailerException $e) { echo $e->errorMessage(); //Pretty error messages from PHPMailer } catch (Exception $e) { echo $e->getMessage(); //Boring error messages from anything else! } function cleanEmails($str,$type) { if ($type == 'cc') { $addy['Email'] = $str[0]; $addy['Name'] = $str[1]; return $addy; } if (!strstr($str, ' <')) { $addy['Name'] = ''; $addy['Email'] = $addy; return $addy; } $addyArr = explode(' <', $str); if (substr($addyArr[1],-1) == '>') { $addyArr[1] = substr($addyArr[1],0,-1); } $addy['Name'] = $addyArr[0]; $addy['Email'] = $addyArr[1]; $addy['Email'] = str_replace('@', '@', $addy['Email']); return $addy; } ?>