<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/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>Method:API Q&amp;A</title><link>http://forums.method.me/cs/forums/15.aspx</link><description>Ask questions specific to the MethodAPI from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: SendEmailV2 with email templates</title><link>http://forums.method.me/cs/forums/thread/13017.aspx</link><pubDate>Thu, 05 Jul 2012 20:50:51 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13017</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13017.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13017</wfw:commentRss><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;The dataset was returning encoded data, and I was using one of the stock email templates to test it out.&lt;/p&gt;
&lt;p&gt;The HttpUtility.HtmlDecode did the trick though and now it is working beautifully, thanks for your help!&lt;/p&gt;</description></item><item><title>Re: SendEmailV2 with email templates</title><link>http://forums.method.me/cs/forums/thread/13016.aspx</link><pubDate>Thu, 05 Jul 2012 20:39:51 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13016</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13016.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13016</wfw:commentRss><description>&lt;p&gt;&amp;nbsp; Hi Matt,&lt;/p&gt;
&lt;p&gt;The dataset should not be returning encoded data, unless it is encoded in the table in your method account. &lt;/p&gt;
&lt;p&gt;If the data is encoded you should be able to decode it with a simple .NET HttpUtility.HtmlDecode&lt;/p&gt;
&lt;p&gt;e.g HttpUtility.HtmlDecode(&amp;quot;&amp;amp;lt;strong&amp;amp;gt;Something Bold.&amp;amp;lt;/strong&amp;amp;gt;&amp;quot;) will return &amp;lt;strong&amp;gt;Something Bold.&amp;lt;/strong&amp;gt;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: SendEmailV2 with email templates</title><link>http://forums.method.me/cs/forums/thread/13015.aspx</link><pubDate>Thu, 05 Jul 2012 20:12:31 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13015</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13015.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13015</wfw:commentRss><description>&lt;p&gt;Dave,&lt;/p&gt;
&lt;p&gt;Ok I was successful in sending an email without the encoding...&lt;/p&gt;
&lt;p&gt;next question is: how do I retrieve the email body field from the EmailTemplate table without the coding to be able to send it automatically?&lt;/p&gt;</description></item><item><title>Re: SendEmailV2 with email templates</title><link>http://forums.method.me/cs/forums/thread/13014.aspx</link><pubDate>Thu, 05 Jul 2012 19:59:23 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13014</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13014.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13014</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sorry Matt,&lt;/p&gt;
&lt;p&gt;My last response got submitted while WIP anyway...&lt;/p&gt;
&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;I would just put the html in there without encoding the tags&lt;/p&gt;
&lt;p&gt;e.g.&amp;lt;strong&amp;gt;Something bold.&amp;lt;/strong&amp;gt;&lt;/p&gt;
&lt;p&gt;would show up as&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Something bold&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;/div&gt;</description></item><item><title>Re: SendEmailV2 with email templates</title><link>http://forums.method.me/cs/forums/thread/13013.aspx</link><pubDate>Thu, 05 Jul 2012 19:57:32 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13013</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13013.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13013</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Matt,&lt;/p&gt;
&lt;p&gt;I would just put the html in there without encoding the tags&lt;/p&gt;
&lt;p&gt;e.g.&amp;lt;strong&amp;gt;Something bold.&amp;lt;/strong&amp;gt;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: SendEmailV2 with email templates</title><link>http://forums.method.me/cs/forums/thread/13012.aspx</link><pubDate>Thu, 05 Jul 2012 19:43:40 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13012</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13012.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13012</wfw:commentRss><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;How would you include formatted text in the SendEmailV2 email body field?&lt;/p&gt;</description></item><item><title>Re: SendEmailV2 with email templates</title><link>http://forums.method.me/cs/forums/thread/13011.aspx</link><pubDate>Thu, 05 Jul 2012 19:40:26 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13011</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13011.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13011</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Matt,&lt;/p&gt;
&lt;p&gt;Are the html tags encoded? That would cause them to show up as html code rather than as a formatted body&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>SendEmailV2 with email templates</title><link>http://forums.method.me/cs/forums/thread/13009.aspx</link><pubDate>Thu, 05 Jul 2012 18:50:39 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13009</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13009.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13009</wfw:commentRss><description>&lt;p&gt;I am trying to duplicate the ability to send an email using an email template from the API instead of from within Method.&lt;/p&gt;
&lt;p&gt;I used Select_DataSetV2 to retrieve the email body from the template I wanted to use and then put the returned data in the email body field when calling the SendEmailV2. When I receive the email the body just shows all the html code instead of a formatted body like I was hoping. An suggestions on how to get it to display correctly using the API to send the email?&lt;/p&gt;</description></item></channel></rss>