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: "firstname.lastname@example.org". However the 'From' field is set to: 'TI E2E Community -Automated Emails [email@example.com]". What we are trying to do is have the 'From' field set to "Patrick Ftizpatrick [firstname.lastname@example.org]", 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 [email@example.com]"
I would like to mention that in our templates, we are using $email_header.SetHeader. For example, in forum_post.xml, we have,
$email_header.SetHeader("From", "TI E2E Community - Automated Email <$core_v2_configuration.FromSiteEmailAddress>")
#set($post = $core_v2_forumThread.Current)
#set($post = $core_v2_forumReply.Current)
#set($forum = $core_v2_forum.Get($post.ForumId))
#set($subject = "$core_v2_forum.Get($post.ForumId).Name: $post.Subject")
Can you advise how to have the email template configured for both scenarios. Thanks