If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Guestbook 1.5  XML
Forum Index » Support Forum
Author Message
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
Anonymous



I am having the same proglems.
My webser is local so one would think it easier.

Anyone got any ideas
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
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum