<?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: Emailing and Printing</title><link>https://www.infopathdev.com:443/forums/thread/6305.aspx</link><pubDate>Sun, 27 Mar 2005 23:15:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6305</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6305.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6305</wfw:commentRss><description>The one difference that i can see for these two calls is that for the email adapter you have a choice while creating the data connection whether you want to send the form as an attachment or not, but as part of ShowMailItem the form will always be sent as an attachment.</description></item><item><title>Re: Emailing and Printing</title><link>https://www.infopathdev.com:443/forums/thread/6304.aspx</link><pubDate>Wed, 16 Mar 2005 18:12:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6304</guid><dc:creator>gmcallister</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6304.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6304</wfw:commentRss><description>Greg:&lt;br /&gt;&lt;br /&gt;What is the difference between the EmailAdaptor call and the .ShowMailItem in jscript? Is there a way to call the same adaptor from jscript and will it allow me to NOT send the form as an attachemnt?&lt;br /&gt;&lt;br /&gt;"One Line at a Time" - anonymous codeaholic&lt;br /&gt;Greg McAllister</description></item><item><title>Re: Emailing and Printing</title><link>https://www.infopathdev.com:443/forums/thread/6303.aspx</link><pubDate>Tue, 02 Nov 2004 23:13:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6303</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6303.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6303</wfw:commentRss><description>For programmatically sending an email, the first thing to note is that a dialog will appear asking the user to accept the email being sent. This is a security dialog and cannot be gotten around (sorry).&lt;br /&gt;&lt;br /&gt;Create an email data connection and then add the following to your code (this is in C#):&lt;br /&gt;&lt;br /&gt;EmailAdapter oEmail = (EmailAdapter)thisXDocument.DataAdapters["Email Submit"];&lt;br /&gt;oEmail.To = "";&lt;br /&gt;oEmail.CC = "";&lt;br /&gt;oEmail.Subject = "";&lt;br /&gt;oEmail.Intro = "";&lt;br /&gt;oEmail.AttachmentFileName = "";&lt;br /&gt;&lt;br /&gt;oEmail.Submit();&lt;br /&gt;&lt;hr noshade size="1"&gt;&lt;br /&gt;As for the controls displaying on print, have you tried creating a print view? You can use expression boxes to show the data instead of the other controls.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Emailing and Printing</title><link>https://www.infopathdev.com:443/forums/thread/4494.aspx</link><pubDate>Tue, 02 Nov 2004 17:47:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4494</guid><dc:creator>sakieboy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4494</wfw:commentRss><description>Of course, the email issue sounds like a simple one.  I'd like to capture the submit, to which I think I know how, but I need to know how to programmatically email someone.&lt;br /&gt;&lt;br /&gt;Also, when print a form, the controls still display on the form (which looks tacky).  Is there anyway to print out the form without the controls displaying?</description></item></channel></rss>