Subscriptions: edit email 'from' name

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Subscriptions: edit email 'from' name

iamthemik3
Currently, whenever my nabble application sends out emails to subscribed users, the 'from' name is in the following format:
username [via nabblePagename]
Would it be possible to edit the format to include the subforum name like so:
username [via nabblePagename - subforumName]
 If so, what NAML module should I edit? If not, this would be a valuable feature to have.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Subscriptions: edit email 'from' name

Peter <Nabble>
You need to change "send_subscription_email".
Nabble staff. We never ask for passwords.
Reply | Threaded
Open this post in threaded view
|

Re: Subscriptions: edit email 'from' name

iamthemik3
Thanks. I ended up finding the module name but was unable to figure out which macro to use to insert the sub-forum name. I tried <n.page_node.subject> but that resulted in the page crashing. Any pointers on what I could use? its kinda hard to figure out without documentation being fully complete.
Reply | Threaded
Open this post in threaded view
|

Re: Subscriptions: edit email 'from' name

iamthemik3
Just tried using <n.local_node.parent_node.subject/> to insert the subforum name.
This worked for the first post, however since replies are organized as children of the first post, any replies end up having a different subject. I guess I would have to loop up the levels of hierarchy until I hit an app node. I may have just answered my own question...
Reply | Threaded
Open this post in threaded view
|

Re: Subscriptions: edit email 'from' name

Peter <Nabble>
Now you should be able to see the NAML link on the e-mails. It may be easier for you to find what you need.
Nabble staff. We never ask for passwords.