Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
21/02/2004 01:10:52
|
Anonymous
|
Anyone help with this. :?:
I have guestbook 1.5 working fine and sendmail installed and working fine.
How can I get the guest book to send the mail for new signings.
Many thanks
|
|
21/02/2004 01:16:12
|
Anonymous
|
I am having the same proglems.
My webser is local so one would think it easier.
Anyone got any ideas
|
|
07/01/2005 06:41:01
|
Anonymous
|
I had the same problem. Took me a while but finally got it fixed.
In the original guestbook.pl it has:
# sendmail bugfix
# Thanks to Jason <syberknight@mac.com>
sub send_mail {
open (MAIL, "|$mailprog -t");
print MAIL "To: $recipient\n";
print MAIL "From: $FORM{'email'}\n";
print MAIL "Subject: New Guestbook Entry\n";
print MAIL "Reply-to: $FORM{'email'}\n";
print MAIL "There is a new entry in the guestbook:\n\n";
print MAIL "From:$FORM{'username'}\n";
print MAIL "$FORM{'message'}\n";
print MAIL "$this_day";
close (MAIL);
You need to change it to:
# sendmail bugfix
# Thanks to Jason <syberknight@mac.com>
sub send_mail {
open (MAIL, "|$mailprog");
print MAIL "To: $recipient\n";
print MAIL "From: $FORM{'email'}\n";
print MAIL "Subject: New Guestbook Entry\n";
print MAIL "Reply-to: $FORM{'email'}\n";
print MAIL "There is a new entry in the guestbook:\n\n";
print MAIL "From:$FORM{'username'}\n";
print MAIL "$FORM{'message'}\n";
print MAIL "$this_day";
close (MAIL);
Once I changed the that one little line it worked fine. Before that it would work but I wouldn't get the notice.
Hope this helps you,
Emeraldisle
|
|
|
|
|
|
Based on the open source JForum
|