Login  Register

Re: [Mail List] Subject Line Identifier

Posted by Pedro on Nov 23, 2012; 5:49pm
URL: https://support.nabble.com/Mail-List-Subject-Line-Identifier-tp7581972p7582008.html

Greg,
please, see if it's enough:
replace your send_subscription_email macro with this:
<override_macro name="send_subscription_email" parameters="node_attr,text_part,html_part" requires="subscription">
    <n.set_local_subscription.this_subscription/>
    <n.set_local_node.node_attr/>
    <n.block.>
        <n.new_email.>
            <n.send>
                <to.local_subscription.user.user_email/>
                <to_name.local_subscription.user.name/>
                <from.local_subscription.user.reply_address_for.local_node/>
                <from_name><n.local_node.owner.name/> [via <n.root_node.subject/>]</from_name>
                <subject.>
                    [<n.local_node.topic_node.parent_node.subject/>] <n.local_node.subject/>
                </subject.>
                <text_part.text_part/>
                <html_part.html_part/>
                <set_headers_for.local_node/>
                <bounce_to.local_subscription.user.bounces_address/>
            </n.send>
        </n.new_email.>
    </n.block.>
</override_macro>
Note that in line 12, I'm adding a prefix to the message, that is the name of its sub app.
My test forum.