Diff for Metafox/functions.inc.php between version 1.31 and 1.32
| version 1.31, 2006/09/03 14:03:24 |
version 1.32, 2006/09/03 14:07:58 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.30 2006-08-27 12:10:34 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.31 2006-09-03 14:03:24 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 842 function ezin_email_send($emails, $from, |
|
| Line 842 function ezin_email_send($emails, $from, |
|
| PEAR::pushErrorHandling(PEAR_ERROR_RETURN); |
PEAR::pushErrorHandling(PEAR_ERROR_RETURN); |
| foreach ($methods as $method) { |
foreach ($methods as $method) { |
| $headers['X-Mail-Used-Method'] = $method; |
$headers['X-Mail-Used-Method'] = $method; |
| $mail = Mail::factory($method, $params); |
if ($method == 'mail') { |
| |
$mail =& Mail::factory($method); |
| |
} else { |
| |
$mail =& Mail::factory($method, $params); |
| |
} |
| $ret = @$mail->send($emails, $headers, $message); |
$ret = @$mail->send($emails, $headers, $message); |
| if ($ret === true) { |
if ($ret === true) { |
| //echo "method <b>$method</b> returned <b>true</b><br>"; |
//echo "method <b>$method</b> returned <b>true</b><br>"; |
Platon Group <platon@platon.org> http://platon.org/
|
|