Page 1 of 1

How do I change from address when notifications is sent?

Posted: Wed Mar 21, 2007 3:25 pm
by juschilin
How do I change the from address after a notification is sent from gguestbook?

the current from address is:
changeme@changeme.changeme

Posted: Thu Mar 22, 2007 1:24 pm
by Klemen
How about searching the forum first?

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

See my last post there.

works perfectly

Posted: Thu Mar 22, 2007 2:11 pm
by juschilin
this is great! works perfectly...this forum is great......

How about the same for 1.6?

Posted: Wed Apr 16, 2008 2:55 pm
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.

Posted: Wed Apr 16, 2008 4:13 pm
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

Posted: Wed Apr 16, 2008 5:32 pm
by LRod
Thanks. I've put in the additional code, now awaiting an email to go through my remailer.