cvs: pearweb /public_html account-mail.php
| From: | Martin Jansen | Date: | Sat, 04 May 2002 18:09:37 +0000 |
| Subject: | cvs: pearweb /public_html account-mail.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3694@lists.php.net to get a copy of this message | ||
mj Sat May 4 14:09:37 2002 EDT
Modified files:
/pearweb/public_html account-mail.php
Log:
* Doh.
Index: pearweb/public_html/account-mail.php
diff -u pearweb/public_html/account-mail.php:1.2 pearweb/public_html/account-mail.php:1.3
--- pearweb/public_html/account-mail.php:1.2 Sat May 4 07:41:17 2002
+++ pearweb/public_html/account-mail.php Sat May 4 14:09:36 2002
@@ -2,7 +2,7 @@
/**
* Send mail to PEAR contributor
*
- * $Id: account-mail.php,v 1.2 2002/05/04 11:41:17 mj Exp $
+ * $Id: account-mail.php,v 1.3 2002/05/04 18:09:36 mj Exp $
*/
/**
@@ -78,7 +78,7 @@
$text = "[This message has been brought to you via pear.php.net.]\n\n";
$text .= wordwrap($_POST['text'], 72);
- if (@mail('martin@urmel', $_POST['subject'], $text)) {
+ if (@mail($row['email'], $_POST['subject'], $text)) {
echo '<p>Your message has been sent successfully.</p>';
} else {
PEAR::raiseError('An error occured while sending the message!');