<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Parker Software Forum : Conditional Email Sending</title>
  <link>http://www.parkersoft.co.uk/forum/</link>
  <description>This is an XML content feed of; Parker Software Forum : Scripting Samples : Conditional Email Sending</description>
  <pubDate>Tue, 21 May 2013 12:48:30 +0000</pubDate>
  <lastBuildDate>Thu, 19 Oct 2006 14:01:36 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.64</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.parkersoft.co.uk/forum/RSS_post_feed.asp?TID=6462</WebWizForums:feedURL>
  <image>
   <title>Parker Software Forum</title>
   <url>http://www.parkersoft.co.uk/forum/forum_images/PSLSmall.bmp</url>
   <link>http://www.parkersoft.co.uk/forum/</link>
  </image>
  <item>
   <title>Conditional Email Sending : Version 1.8 of Email2Db can now...</title>
   <link>http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=6462&amp;PID=12699#12699</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.parkersoft.co.uk/forum/member_profile.asp?PF=738" rel="nofollow">Stephen</a><br /><strong>Subject:</strong> 6462<br /><strong>Posted:</strong> 19 Oct 2006 at 2:01pm<br /><br />Version 1.8 of Email2Db can now be set to send outgoing emails based on custom conditions.<br><br>On the Outgoing Email Message editor - create your email as normal. Then click the Conditional Send button. Enable the Conditional Send option and click the Edit button.<br><br>The script editor will open.<br><br>Here you can construct a script that sets the 'Email2DBSend' flag to True or False.<br><br>For example, suppose you have an extracted field called 'Customer'. You want to send a 'thank you' email only if the customer is Microsoft.<br><br>You would set the Conditional send script to:<br><br><font face="Courier New"><font color="red">Sub Main<br>If FIELDS_Value("Customer") = "Microsoft" Then Email2DBSend = True Else Email2DBSend = False<br>End Sub</font id="red"></font id="Courier New"><br><br>When Email2DB processes the incoming email it will extract the fields. It will then send any outgoing emails. It will check any Conditional send scripts and only send those emails which have their Email2DBSend flag set to True.<br><br>Your Conditional send script can be as complex as you want.<br><br>Steve<br><br>]]>
   </description>
   <pubDate>Thu, 19 Oct 2006 14:01:36 +0000</pubDate>
   <guid isPermaLink="true">http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=6462&amp;PID=12699#12699</guid>
  </item> 
 </channel>
</rss>