<?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: Email body</title><link>https://www.infopathdev.com:443/forums/thread/15009.aspx</link><pubDate>Fri, 12 Jan 2007 09:58:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15009</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15009.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15009</wfw:commentRss><description>Thx a lot patrick. &lt;br /&gt;FYI - I am gonna answer your mail when I am back home in the evening. Don't wanna do it from here.</description></item><item><title>Re: Email body</title><link>https://www.infopathdev.com:443/forums/thread/15008.aspx</link><pubDate>Fri, 12 Jan 2007 08:29:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15008</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15008</wfw:commentRss><description>We are very happy to have someone of your caliber moderating our forum! I think I need to send you a special prize. Please send me your address in private e-mail and let me know if you have a special request from U.S.</description></item><item><title>Re: Email body</title><link>https://www.infopathdev.com:443/forums/thread/15007.aspx</link><pubDate>Fri, 12 Jan 2007 08:26:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15007</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15007</wfw:commentRss><description>Thx Patrick and your welcome,&lt;br /&gt;I learned so much from this forum when I first came into contact with InfoPath that I see it as a kind of duty to also share my knowledge now with others whenever my time allows it.&lt;br /&gt;&lt;br /&gt;You are lucky, because we are not allowed to listen to music here. Would make things much easier :)</description></item><item><title>Re: Email body</title><link>https://www.infopathdev.com:443/forums/thread/15006.aspx</link><pubDate>Fri, 12 Jan 2007 08:16:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15006</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15006</wfw:commentRss><description>Nice job Nukkumatti!&lt;br /&gt;I'm listening to Motörhead now as a tribute to you "cos they play Rock'n Roll"... :)</description></item><item><title>Re: Email body</title><link>https://www.infopathdev.com:443/forums/thread/15005.aspx</link><pubDate>Fri, 12 Jan 2007 08:12:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15005</guid><dc:creator>diaboloche</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15005</wfw:commentRss><description>Thanks a lot !</description></item><item><title>Re: Email body</title><link>https://www.infopathdev.com:443/forums/thread/15004.aspx</link><pubDate>Fri, 12 Jan 2007 07:39:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15004</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15004.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15004</wfw:commentRss><description>Hi you both,&lt;br /&gt;&lt;br /&gt;not sure if this is what you are looking for but for me it worked:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;MailMessage objMail = new MailMessage();&lt;br /&gt;objMail.BodyFormat	= System.Web.Mail.MailFormat.Html;&lt;br /&gt;objMail.From		= "from@address.ca";&lt;br /&gt;objMail.To		= "to@address.ca";&lt;br /&gt;objMail.Subject		= "Test Subject";&lt;br /&gt;//email body style&lt;br /&gt;objMail.Body =  "&amp;lt;b&amp;gt;FROM:&amp;lt;/b&amp;gt;" + "&amp;lt;font color=red&amp;gt;" + "Sample TEXT"	+ "&amp;lt;/font&amp;gt;" + "&amp;lt;br&amp;gt;" +&lt;br /&gt;"&amp;lt;b&amp;gt;MAIL:&amp;lt;/b&amp;gt;" + "&amp;lt;font color=red&amp;gt;" + "Some More Sample Text" + "&amp;lt;/font&amp;gt;" + "&amp;lt;br&amp;gt;" + &lt;br /&gt;"&amp;lt;br&amp;gt;" + "&amp;lt;b&amp;gt;COMPANY:&amp;lt;/b&amp;gt;" + "&amp;lt;font color=red&amp;gt;" + "And Even more sample text" + "&amp;lt;/font&amp;gt;" + "&amp;lt;br&amp;gt;" +&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;</description></item><item><title>Re: Email body</title><link>https://www.infopathdev.com:443/forums/thread/15003.aspx</link><pubDate>Thu, 11 Jan 2007 18:38:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15003</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15003.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15003</wfw:commentRss><description>I doubt you will be able to do this very easily.  You would have to create an HTML-based e-mail body and this is something that I have never done from scratch.  Once you have the power of HTML you can do basically anything, such as bold, underline, colors, images, tables, etc.</description></item><item><title>Email body</title><link>https://www.infopathdev.com:443/forums/thread/13026.aspx</link><pubDate>Wed, 10 Jan 2007 10:32:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13026</guid><dc:creator>diaboloche</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13026.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13026</wfw:commentRss><description>&lt;pre&gt;&lt;br /&gt;try&lt;br /&gt;	{ &lt;br /&gt;		var myOlApp = new ActiveXObject("Outlook.Application");&lt;br /&gt;		newMail = myOlApp.CreateItem(0);&lt;br /&gt;		newMail.To = to;&lt;br /&gt;		newMail.Subject = subject;&lt;br /&gt;		newMail.Body = body;&lt;br /&gt;		newMail.Send();&lt;br /&gt;	}&lt;br /&gt;	catch(ex)&lt;br /&gt;	{&lt;br /&gt;		XDocument.UI.Alert(ex.description);&lt;br /&gt;	}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hi !&lt;br /&gt;&lt;br /&gt;In the body : To make a space I use "\n". But how to make text in bold ?</description></item></channel></rss>