Login  Register

Re: Automatic Out of Office Notices create issues

Posted by Pedro on Apr 08, 2014; 6:19am
URL: https://support.nabble.com/Automatic-Out-of-Office-Notices-create-issues-tp7589455p7589999.html

Coleen,
In order to change your forum's email header, which now I believe was your first intended approach, please, try to merge this with your code and let me know if the auto messages keep getting into loops:
<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.set_header name="Precedence" value="bulk"/>
            <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.local_node.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>
My test forum.