<?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: Email Logic</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Email Logic</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 00:14:49 +0000</pubDate>

<item>
<title>wilsonp on "Email Logic"</title>
<link>https://www.machform.com/forums/topic/email-logic#post-19434</link>
<pubDate>Thu, 17 Oct 2013 16:02:50 +0000</pubDate>
<dc:creator>wilsonp</dc:creator>
<guid isPermaLink="false">19434@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have tried this and it makes no difference when I change an entry. No email is sent when a checkbox, that uses logic to email a person, is changed to ticked using edit.&#60;/p&#62;
&#60;p&#62;Anything else that would need modifying?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Email Logic"</title>
<link>https://www.machform.com/forums/topic/email-logic#post-19146</link>
<pubDate>Wed, 11 Sep 2013 05:41:08 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">19146@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Try to edit the &#34;edit_entry.php&#34; file. Search around line 23 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;require(&#38;#39;includes/users-functions.php&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;exactly below that line, add this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;require(&#38;#39;lib/swift-mailer/swift_required.php&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>TM on "Email Logic"</title>
<link>https://www.machform.com/forums/topic/email-logic#post-19109</link>
<pubDate>Fri, 06 Sep 2013 01:20:26 +0000</pubDate>
<dc:creator>TM</dc:creator>
<guid isPermaLink="false">19109@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I tired it and get this error: Fatal error: Class 'Swift_MailTransport' not found in /home/virtualv/public_html/reg/includes/helper-functions.php on line 890
&#60;/p&#62;</description>
</item>
<item>
<title>TM on "Email Logic"</title>
<link>https://www.machform.com/forums/topic/email-logic#post-19108</link>
<pubDate>Fri, 06 Sep 2013 01:09:11 +0000</pubDate>
<dc:creator>TM</dc:creator>
<guid isPermaLink="false">19108@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Was this resolved?  I wanted to use the above code if it is error-free.
&#60;/p&#62;</description>
</item>
<item>
<title>finger123 on "Email Logic"</title>
<link>https://www.machform.com/forums/topic/email-logic#post-18553</link>
<pubDate>Tue, 18 Jun 2013 02:06:16 +0000</pubDate>
<dc:creator>finger123</dc:creator>
<guid isPermaLink="false">18553@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;after making your changes, this is the error I get.&#60;/p&#62;
&#60;p&#62;Fatal error: Class 'Swift_SmtpTransport' not found in /home2/thegeeks/public_html/application/includes/helper-functions.php on line 879
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Email Logic"</title>
<link>https://www.machform.com/forums/topic/email-logic#post-18534</link>
<pubDate>Fri, 14 Jun 2013 19:19:06 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">18534@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That is the expected behavior indeed.&#60;/p&#62;
&#60;p&#62;If you need the logic to be triggered when the form is being updated from within MachForm panel as well, you can try editing your &#34;includes/post-functions.php&#34; file. Search around line 2589 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//send all notifications triggered by email-logic
if(($is_inserted &#38;#38;&#38;#38; !empty($logic_email_enable) &#38;#38;&#38;#38; empty($form_review) &#38;#38;&#38;#38; ($form_page_total == 1) &#38;#38;&#38;#38; empty($edit_id)
&#38;#38;&#38;#38; ($delay_notifications === false) ) &#124;&#124; ($is_inserted &#38;#38;&#38;#38; !empty($logic_email_enable) &#38;#38;&#38;#38; $is_committed &#38;#38;&#38;#38;
empty($edit_id) &#38;#38;&#38;#38; ($delay_notifications === false) )&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//send all notifications triggered by email-logic
if(($is_inserted &#38;#38;&#38;#38; !empty($logic_email_enable) &#38;#38;&#38;#38; empty($form_review) &#38;#38;&#38;#38; ($form_page_total == 1)
&#38;#38;&#38;#38; ($delay_notifications === false) ) &#124;&#124; ($is_inserted &#38;#38;&#38;#38; !empty($logic_email_enable) &#38;#38;&#38;#38; $is_committed &#38;#38;&#38;#38;
($delay_notifications === false) )&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>finger123 on "Email Logic"</title>
<link>https://www.machform.com/forums/topic/email-logic#post-18518</link>
<pubDate>Fri, 14 Jun 2013 01:23:02 +0000</pubDate>
<dc:creator>finger123</dc:creator>
<guid isPermaLink="false">18518@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I notice that when creating a email logic, it will only email when first filing out the form.  I have a form that asks certain questions and asks for approval from a manager.  When a user fills out the form, it gets submitted to the manager.  When the manager reviews the form, he edits the form and has a choice of either approving or denying the request.  With that said, the logic I have created is supposed to email the user whom filled out the form with the information of what the manger either approved or deny.  The logic doesn't work this way.  Only seems to work if they  initially approve the form from the get go.  Any way around this?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
