<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Modify Email Header info</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Modify Email Header info</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 05:37:37 +0000</pubDate>

<item>
<title>yuniar on "Modify Email Header info"</title>
<link>https://www.machform.com/forums/topic/modify-email-header-info#post-18367</link>
<pubDate>Fri, 24 May 2013 18:48:57 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">18367@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can try editing the &#34;includes/helper-functions.php&#34; file. Around line 1070 you should find this block of code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$s_message = Swift_Message::newInstance()
			-&#38;gt;setCharset(&#38;#39;utf-8&#38;#39;)
			-&#38;gt;setMaxLineLength(1000)
			-&#38;gt;setSubject($subject)
			-&#38;gt;setFrom(array($from_email =&#38;gt; $from_name))
			-&#38;gt;setSender($from_email)
			-&#38;gt;setReturnPath($from_email)
			-&#38;gt;setTo($email_address)
			-&#38;gt;setBody($email_content, $email_content_type);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;below that block of code, add this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$headers = $s_message-&#38;gt;getHeaders();
$headers-&#38;gt;addIdHeader(&#38;#39;Your-Header-Name&#38;#39;, &#38;#39;123456.unqiue@example.org&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that should add the custom header.
&#60;/p&#62;</description>
</item>
<item>
<title>epsd on "Modify Email Header info"</title>
<link>https://www.machform.com/forums/topic/modify-email-header-info#post-18329</link>
<pubDate>Mon, 20 May 2013 19:07:33 +0000</pubDate>
<dc:creator>epsd</dc:creator>
<guid isPermaLink="false">18329@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Basically, I want to add a custom header with a keyword it in so it can  be IDed. So I would add something like:&#60;/p&#62;
&#60;p&#62;X-myID: MyCustomID
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Modify Email Header info"</title>
<link>https://www.machform.com/forums/topic/modify-email-header-info#post-18316</link>
<pubDate>Sun, 19 May 2013 19:34:38 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">18316@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;What header you would like to add? MachForm uses SwiftMailer library and the email function is defined inside &#34;includes/helper-functions.php&#34; file.&#60;br /&#62;
Particularly inside &#34;mf_send_notification()&#34; function.
&#60;/p&#62;</description>
</item>
<item>
<title>epsd on "Modify Email Header info"</title>
<link>https://www.machform.com/forums/topic/modify-email-header-info#post-18305</link>
<pubDate>Fri, 17 May 2013 19:26:40 +0000</pubDate>
<dc:creator>epsd</dc:creator>
<guid isPermaLink="false">18305@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Just bumping this up. let me know if clarification is needed.
&#60;/p&#62;</description>
</item>
<item>
<title>epsd on "Modify Email Header info"</title>
<link>https://www.machform.com/forums/topic/modify-email-header-info#post-18298</link>
<pubDate>Thu, 16 May 2013 22:52:50 +0000</pubDate>
<dc:creator>epsd</dc:creator>
<guid isPermaLink="false">18298@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Using the latest version. I need to add a custom header into the email/email headers being sent out so that they are not picked up by the our spam filter... Any ideas where to do this at?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
