News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Add Username to Subject of New User Notification Email

Started by i4get75, February 24, 2008, 08:25:21 PM

Previous topic - Next topic

i4get75

I'm looking on how to add the new users username to the subject line of the new user notification email.  Is there a way to do this or can it be included in the next version?

Thanks!
Greg

Oldiesmann

Sources/Subs-Post.php

Find
Code (Line 2122) Select
sendmail($row['emailAddress'], $txt['admin_notify_subject'], $message . $txt[130]);

Replace
sendmail($row['emailAddress'], $txt['admin_notify_subject'] . ' - ' . $memberName, $message . $txt[130]);

That will change the subject to "A New Member Has Joined - {membername}".
Michael Eshom
Christian Metal Fans

i4get75

You so rock!  Thank you.  I thought it was in there somewhere but two hours of poking around and I still hadn't figured it out I was hoping someone would help.

Oldiesmann

Michael Eshom
Christian Metal Fans

Advertisement: