Email template editing

38 views
Skip to first unread message

Colin P

unread,
Feb 7, 2023, 10:09:20 AM2/7/23
to ResourceSpace
Is there a way to edit the template of the emails that are sent out? I've looked through the admin options and can't find anything. I've also searched through the code. Does anyone know where I can edit the emails? I mostly need to change the template – just change a color.

Mike Perry

unread,
Feb 7, 2023, 1:20:13 PM2/7/23
to ResourceSpace
Are you looking to alter internal RS system messages or e-mails sent to external addresses?

Colin P

unread,
Feb 7, 2023, 1:24:32 PM2/7/23
to ResourceSpace
Emails sent to external addresses

Mike Perry

unread,
Feb 7, 2023, 3:52:28 PM2/7/23
to ResourceSpace
If they're html coded e-mails try looking at the source - it may provide a clue to the element identity of the element you want to change. Maybe open the e-mail in a browser and use the Web tools to see how and where the color property is assigned - it's probably hard coded inline. Finding the specific RS code that generates the email may be a challenge but at least you'll know what you're looking for.

Colin P

unread,
Feb 7, 2023, 4:03:49 PM2/7/23
to ResourceSpace
I did just that and I found nothing in the full source of RS. This is why I am posting here.

Mike Perry

unread,
Feb 7, 2023, 4:54:05 PM2/7/23
to ResourceSpace
The e-mails are probably PHP-generated. There is no "template" to edit. Odds are the color declaration is in-line in the script.

Can you view the e-mail source code in a browser?

Colin P

unread,
Feb 7, 2023, 5:00:08 PM2/7/23
to ResourceSpace
I figured it out. The color that the emails use is picked up from System > Configuration > User Interface > Custom Header Color

Thanks for your help!

Mike Perry

unread,
Feb 8, 2023, 7:51:06 AM2/8/23
to ResourceSpace
👍

ECIN

unread,
May 5, 2023, 9:46:54 AM5/5/23
to ResourceSpace
The eMails generated in the include/user_functions.php line 860 below
Reply all
Reply to author
Forward
0 new messages