1
kahumbu
Contact Us From Name Hack
  • 2004/5/12 20:10

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


This small hack will let you reply to emails from the Contact Us module using the username as the "From Name" instead of the site name. This means that you will get "User Name<useremail@domain.com>" instead of "Site Name<useremail@domain.com>".

Open and edit ../modules/contact/index.php

Line 75:

from:
$xoopsMailer->setFromName($xoopsConfig['sitename']);

change it to:
$xoopsMailer->setFromName($usersName);

Ain't that simple?

Login

Who's Online

212 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits