How do I change from address when notifications is sent?

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
juschilin
Posts: 2
Joined: Wed Mar 21, 2007 3:20 pm

How do I change from address when notifications is sent?

Post by juschilin »

How do I change the from address after a notification is sent from gguestbook?

the current from address is:
changeme@changeme.changeme
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

How about searching the forum first?

viewtopic.php?t=1158&highlight=change+email

See my last post there.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
juschilin
Posts: 2
Joined: Wed Mar 21, 2007 3:20 pm

works perfectly

Post by juschilin »

this is great! works perfectly...this forum is great......
LRod
Posts: 9
Joined: Wed Apr 09, 2008 10:47 pm

How about the same for 1.6?

Post by LRod »

I was able to get the email alert to display the appropriate "From" addy in mbook, 1.3 and I read this exchange (including the referenced URL) regarding gbook 1.43, now how do I make the same mod in gbook 1.6?

The marvelous language.inc.php file of stock text strings is wonderful (just like a style sheet in the long lamented WordPerfect). I assume that a NextGen of mbook will implement that technique? I hope so.

Anyway, back to the problem at hand, gbook 1.6. Suggestions?

Thanks for your marvelous work.
LRod
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Just like in version 1.43 (and version 1.3) you will have to edit the gbook.php file.

In Gbook version 1.6 find line 798

Code: Select all

mail("$settings[admin_email]",$lang['t41'],$message);
and change it like you would in version 1.43

Greetings,
Henrie
LRod
Posts: 9
Joined: Wed Apr 09, 2008 10:47 pm

Post by LRod »

Thanks. I've put in the additional code, now awaiting an email to go through my remailer.
LRod
Post Reply