Under Dashboard/Administration/Forum Admin/Editing Forum: <Internal Forum Name>, we have the Mailing List enabled and when emails come in, the 'To' field is set to: "mailing_list@e2e.ti.com". However the 'From' field is set to: 'TI E2E Community -Automated Emails [noreply@e2e.ti.com]". What we are trying to do is have the 'From' field set to "Patrick Ftizpatrick [noreply@e2e.ti.com]", or whoever the user posting is.
But, we are still wanting for normal notifications (external posts), the 'From' field should be set to 'TI E2E Community -Automated Emails [noreply@e2e.ti.com]"
I would like to mention that in our templates, we are using $email_header.SetHeader. For example, in forum_post.xml, we have,
<subject>
<![CDATA[
$email_header.SetHeader("From", "TI E2E Community - Automated Email <$core_v2_configuration.FromSiteEmailAddress>")
#if($core_v2_forumThread.Current)
#set($post = $core_v2_forumThread.Current)
#else
#set($post = $core_v2_forumReply.Current)
#end
#set($forum = $core_v2_forum.Get($post.ForumId))
#set($subject = "$core_v2_forum.Get($post.ForumId).Name: $post.Subject")
$subject
]]>
</subject>
Can you advise how to have the email template configured for both scenarios. Thanks
Patrick