Diff for Metafox/functions.inc.php between version 1.3 and 1.4
| version 1.3, 2005/10/31 05:42:51 |
version 1.4, 2005/11/07 18:33:18 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.2 2005/08/13 23:06:13 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.3 2005/10/31 05:42:51 nepto Exp $ */ |
| |
|
| /* |
/* |
| * Line wrap function |
* Line wrap function |
| Line 813 function ezin_email_send($emails, $from, |
|
| Line 813 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); |
$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/
|
|