Login  Register

Re: WorkGroup Assignees Not Receiving Alert Emails

Posted by Hugo <Nabble> on Mar 18, 2017; 6:01am
URL: https://support.nabble.com/WorkGroup-Assignees-Not-Receiving-Alert-Emails-tp7597850p7597855.html

The customization is probably the cause of the problem.
I looked at the code and I believe the customization below should fix the problem, but I haven't tested it. Maybe you can try it and let me know if you need any help.

<override_macro name="instant_emails" requires="instant_mail,node_page">
	<n.if.page_node.has_topic_node>
		<then.if.page_node.topic_node.is_assigned>
			<then>
				<n.remove_from_instant_mail.page_node.topic_assignee/>
				<n.send_assign_email/>
			</then>
		</then.if.page_node.topic_node.is_assigned>
	</n.if.page_node.has_topic_node>

	<n.subscription_list.loop.>
		<n.if.current_subscription.user.should_get_instant_mail>
			<then.current_subscription.send_instant_email />
		</n.if.current_subscription.user.should_get_instant_mail>
	</n.subscription_list.loop.>
</override_macro>