Script URL:
Version of script: GB 1.35
Version of PHP:
Hosting company: emax
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: email, admin
Write your message below:
When I receive guestbook notificaiton email it says it is from marchin@gary.yourhostdsn.com. Is there a way to change this to say its from my website or something else. Thanks
Guestbook notification
Hello cmpque,
There is a way by editing the gbook.php file.
Find this line (line 484 in GBook 1.35)
To show a fixed name as the name, change it to this:To show the name of the sender, change it to this:To show the name of the sender with the e-mail address linked to it so you can reply a mail, change it to this:Ofcourse the last only works if a e-mail address is entered otherwise you can't reply.
Greetings,
Henrie
There is a way by editing the gbook.php file.
Find this line (line 484 in GBook 1.35)
Code: Select all
mail("$settings[admin_email]","Someone has just signed your guestbook",$message);}
Code: Select all
mail("$settings[admin_email]","Someone has just signed your guestbook",$message,"From: gbook");}
Code: Select all
mail("$settings[admin_email]","Someone has just signed your guestbook",$message,"From: $name");}
Code: Select all
mail("$settings[admin_email]","Someone has just signed your guestbook",$message,"From: $name <$email>");}
Greetings,
Henrie
Thanks Henrie,
The second and third methods worked like a charm. The first method shows gbook@gary.yourhostdsn.com and not just the fixed name.
Thanks again, cmpque
The second and third methods worked like a charm. The first method shows gbook@gary.yourhostdsn.com and not just the fixed name.
Thanks again, cmpque
Nope I tried the 'gbook' it still list as gbook@gary.yourhostdsn.com, It must me some setting with my host server. I'm good with the other methods. Thanks,
cmpque
cmpque