cvs: pearweb /include/Damblan Mailer.php
| From: | Tobias Schlitt | Date: | Tue, 18 Jan 2005 05:54:21 +0000 |
| Subject: | cvs: pearweb /include/Damblan Mailer.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-28656@lists.php.net to get a copy of this message | ||
toby Tue Jan 18 00:54:21 2005 EDT
Modified files:
/pearweb/include/Damblan Mailer.php
Log:
* Added -f flag to mail().
http://cvs.php.net/diff.php/pearweb/include/Damblan/Mailer.php?r1=1.4&r2=1.5&ty=u
Index: pearweb/include/Damblan/Mailer.php
diff -u pearweb/include/Damblan/Mailer.php:1.4 pearweb/include/Damblan/Mailer.php:1.5
--- pearweb/include/Damblan/Mailer.php:1.4 Tue Jan 11 11:41:45 2005
+++ pearweb/include/Damblan/Mailer.php Tue Jan 18 00:54:20 2005
@@ -138,7 +138,7 @@
}
}
// Attempt to send mail:
- $mail = Mail::factory('mail');
+ $mail = Mail::factory('mail', array('-f pear-sys@php.net'));
if (PEAR::isError($mail)) {
return PEAR::raiseError('Could not create Mail instance.
'.$mail->getMessage());
}