<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Send mail without the form</title><link>https://www.infopathdev.com:443/forums/thread/37225.aspx</link><pubDate>Fri, 16 Jan 2009 13:50:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37225</guid><dc:creator>belote82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37225.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37225</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ll have an attachment if you do like that&lt;/p&gt;
&lt;p&gt;&amp;nbsp;As I don&amp;#39;t want any form (in the mail or as attachment), the solution I&amp;#39;ve found is the good one.&lt;/p&gt;</description></item><item><title>Re: Send mail without the form</title><link>https://www.infopathdev.com:443/forums/thread/37221.aspx</link><pubDate>Fri, 16 Jan 2009 13:24:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37221</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37221.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37221</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you getting any error? Don&amp;#39;t write any attachment file name. Try the following code.&lt;/p&gt;
&lt;p&gt;function Email(dataAdapterName, to, CC, subject, intro)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var objEmailAdapter; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;objEmailAdapter = XDocument.DataAdapters(dataAdapterName); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.To = to;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.CC = CC;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.Subject = subject;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;objEmailAdapter.Intro = intro;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.Submit();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(exception)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Send mail without the form</title><link>https://www.infopathdev.com:443/forums/thread/37219.aspx</link><pubDate>Fri, 16 Jan 2009 13:09:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37219</guid><dc:creator>belote82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37219</wfw:commentRss><description>&lt;p&gt;Wonderful!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve found the solution here : &lt;a href="http://www.infopathdev.com/forums/p/3446/12614.aspx#12614"&gt;http://www.infopathdev.com/forums/p/3446/12614.aspx#12614&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s exactly what I was search for!&lt;/p&gt;
&lt;p&gt;And with this solution, I don&amp;#39;t have mail notification.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Send mail without the form</title><link>https://www.infopathdev.com:443/forums/thread/37217.aspx</link><pubDate>Fri, 16 Jan 2009 12:20:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37217</guid><dc:creator>belote82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37217.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37217</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve tried this with the AttachmentFileName empty, but it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t want the form in the mail and I don&amp;#39;t want it in attachment....&lt;/p&gt;
&lt;p&gt;I juste want to send a simple mail, without form, juste a message&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think it&amp;#39;s possible :(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But thank for your help!!&lt;/p&gt;</description></item><item><title>Re: Send mail without the form</title><link>https://www.infopathdev.com:443/forums/thread/37208.aspx</link><pubDate>Fri, 16 Jan 2009 11:13:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37208</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37208</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Try this,&lt;/p&gt;
&lt;p&gt;function Email(dataAdapterName, to, CC, subject, intro, attachmentFileName)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;var objEmailAdapter; &lt;br /&gt;&amp;nbsp;&amp;nbsp;objEmailAdapter = XDocument.DataAdapters(dataAdapterName); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.To = to;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.CC = CC;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.Subject = subject;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.Intro = intro;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.AttachmentFileName = attachmentFileName + &amp;quot;.xml&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objEmailAdapter.Submit();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(exception)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;a href="http://www.infopathdev.com/forums/p/7669/28054.aspx#28054"&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Send mail without the form</title><link>https://www.infopathdev.com:443/forums/thread/37204.aspx</link><pubDate>Fri, 16 Jan 2009 10:32:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37204</guid><dc:creator>belote82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37204.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37204</wfw:commentRss><description>&lt;p&gt;Thank you, but I&amp;#39;m working in jscript...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Send mail without the form</title><link>https://www.infopathdev.com:443/forums/thread/37202.aspx</link><pubDate>Fri, 16 Jan 2009 10:05:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37202</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37202.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37202</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Look at this bolg.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2008/08/24/so-you-want-to-send-an-email.aspx"&gt;http://www.infopathdev.com/blogs/hilary/archive/2008/08/24/so-you-want-to-send-an-email.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Send mail without the form</title><link>https://www.infopathdev.com:443/forums/thread/37201.aspx</link><pubDate>Fri, 16 Jan 2009 10:00:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37201</guid><dc:creator>belote82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37201.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37201</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I want to send mail to alert some people when an action is done by a user.&lt;/p&gt;
&lt;p&gt;But I don&amp;#39;t want to send the form in the object of the mail because they don&amp;#39;t have to see some informations...&lt;/p&gt;
&lt;p&gt;Is there a way to send a mail with a link and a message in the body, but no form??&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m working in Jscript.&lt;/p&gt;
&lt;p&gt;Thank you a lot&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Xavier&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>