<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Rules and Code-can I call a Rule from code</title><link>https://www.infopathdev.com:443/forums/thread/9206.aspx</link><pubDate>Thu, 02 Mar 2006 19:46:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9206</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9206.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9206</wfw:commentRss><description>You can send email from code. &lt;br /&gt;Search InfoPath dev forums with "send email" as the keyword. There are lot of posts on how to send email from code.</description></item><item><title>Rules and Code-can I call a Rule from code</title><link>https://www.infopathdev.com:443/forums/thread/5410.aspx</link><pubDate>Wed, 01 Mar 2006 21:46:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5410</guid><dc:creator>Mario</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5410.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5410</wfw:commentRss><description>I have some code in VB behind an Infopath button to check logon, etc and approve a form.  If the form is approved, I want to run a rule that sends the form via email.  &lt;br /&gt;&lt;br /&gt;Can you call a rule from code and if so, what sytax, or do I need to email the form from code instead and if so, what syntax.&lt;br /&gt;&lt;br /&gt;thanks in advance</description></item></channel></rss>