Page 1 of 1

httpd@web71.opentransfer.com

Posted: Sun Nov 27, 2005 1:28 am
by Me59
Script URL:
Version of script: 1.34
Version of PHP:
Hosting company: Host Excellence
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:

Write your message below:

I wonder about the sender's address above when receiving a guestbook notification. Guestbook sender's name would be nicer :lol:

Is there a way to alter this, how?

Posted: Sun Nov 27, 2005 10:11 am
by Henrie
Yes, this can be altered.
You have to edit gbook.php

Find this line (line 468)

Code: Select all

mail("$settings[admin_email]","Someone has just signed your guestbook",$message);
To show the name and e-mail address of the poster as the sender of the e-mail change that line to:

Code: Select all

mail("$settings[admin_email]","Someone has just signed your guestbook",$message,"From: $name <$email>");
If you are hosted on a iis server you should read the following post
viewtopic.php?p=1894#1894

Greetings,
Henrie

Posted: Sun Nov 27, 2005 11:54 am
by Klemen
Just a note: some IIS (Windows) server don't support this, so i you are on a Windows server not receiving e-mails after this change switch back to normal.

Regards

Posted: Sun Nov 27, 2005 8:09 pm
by Me59
Thanks, guys!
I am on a Linux server, not Windows.
Will do as advised.