closed Changing email language strings

Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
Right now I get two sets of email from my site from the same from.

I get Jamroom system messages (module updates, etc) from " updates ".

I get site messages (new user notifications, etc) from " updates ".

I would like to be able to change the froms to differentiate them.

Only one needs to change, so it might be easiest for the JR system messages to come "from" JR Updates.

Is this in a language string I have access to? And do the both use the same string ID?


On a related note, site messages have different subject start strings.

One of them is [MySiteName] New Topic / New Comment

Another is MySiteName (string)

Another is (string) on MySiteName!

To make it easy to write filters and to spot emails in my inbox, I would really like all site messages to start with [MySiteName]

[MySiteName] - New Private Note
[MySiteName] - New Member Signup
[MySiteName] - New Topic:
[MySiteName] - New Comment:


My .03 (adjusted for inflation
:: Clay
updated by @claygordon: 04/03/15 03:28:43PM
michael
@michael
9 years ago
7,715 posts
Email message bodies and email subject lines are controlled by individual .tpl files, so if your getting 2 different email subject lines and message bodies, then you can customize them to your hearts content (to stay inline with rampant inflation.)

Lood for this pattern email_(some name)_subject.tpl and email_(some name)_message.tpl in the TEMPLATES tab of the modules sending out the email.

eg, there are a few in the core module:
ACP -> CORE -> TEMPLATES -> email_pending_approve_message.tpl

is the "Pending item Approval" meassage body.
brian
@brian
9 years ago
10,148 posts
Just to add what Michael has posted (i.e. you can customize the subject/messages to suit your needs) - right now we do not have support for sending notifications from different email addresses. It would take a new framework to make that happen, so it's not on the "TODO" list at this time.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
Brian

I don't need to support different email addresses, just different senders:

"TCL Updates" <myJREmailAddress@maildomain.com>
"TCL Support" <myJREmailAddress@maildomain.com>

updated by @claygordon: 02/11/15 10:23:07AM
brian
@brian
9 years ago
10,148 posts
Jamroom's core mailer supports that type of setup, but not at the module level - i.e. there's no way for you to say "send this email with this sender, but send these other emails with this other sender" - that's why we would need a new framework for that.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
Ah. okay.

I will do what I can in the message bodies as Michael suggested.

Tags