Page 1 of 1

Contact Form "Reply-to"

Posted: Thu Nov 03, 2005 8:53 pm
by chris_at
Microbug: The Reply-to header contains the correct e-mail address, but the wrong name (blog's name instead of the sender's name belonging to the e-mail).

diff -u

Code: Select all

--- serendipity_event_contactform.php.old       2006-10-14 12:39:05.459739080 +0200
+++ serendipity_event_contactform.php   2005-11-03 20:40:51.459146256 +0100
@@ -119,7 +119,7 @@
               . "\n"
               . "\n" . '----';

-        return serendipity_sendMail($to, $subject, $text, $fromEmail);
+        return serendipity_sendMail($to, $subject, $text, $fromEmail, NULL, $fromName);
     }

     function checkSubmit() {
Note that 0) I am not familiar with PHP and 1) Real Men don't test their patches, so use at your own risk...

Re: Contact Form "Reply-to"

Posted: Fri Nov 04, 2005 11:12 am
by garvinhicking
Hi!

Thanks a lot for this patch, this has actually been implemented in 1.0-alpha1 a few days ago, already :))

Regards,
Garvin

Posted: Fri Nov 04, 2005 9:58 pm
by chris_at
Ups :(