[jobberbase] r425 committed - enh: for the contact mail, show the sender email and name in the messa...

3 views
Skip to first unread message

codesite...@google.com

unread,
Feb 7, 2010, 6:49:38 AM2/7/10
to jobbe...@googlegroups.com
Revision: 425
Author: putyp...@gmail.com
Date: Sun Feb 7 03:48:33 2010
Log: enh: for the contact mail, show the sender email and name in the
message body
http://code.google.com/p/jobberbase/source/detail?r=425

Modified:
/trunk/public/_includes/class.Postman.php

=======================================
--- /trunk/public/_includes/class.Postman.php Tue Sep 8 08:22:33 2009
+++ /trunk/public/_includes/class.Postman.php Sun Feb 7 03:48:33 2010
@@ -201,7 +201,8 @@

public function MailContact($name, $email, $msg)
{
- $msg .= "\n\n---\nIP: " . $_SERVER['REMOTE_ADDR'];
+ $msg .= "\n\n---\nSent by: $name <$email>";
+ $msg .= "\nIP: " . $_SERVER['REMOTE_ADDR'];
$msg .= "\nDate: " . date('Y-m-d H:i');

$subject = "[" . SITE_NAME . "] contact";

Reply all
Reply to author
Forward
0 new messages