<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 06:46:15 +0000</lastBuildDate>
    <item>
      <title>(Java) Load Existing Email Message and Modify its Contents inside Android Apps - johansonkatherine</title>
      <link>https://snipplr.com/view/74654/load-existing-email-message-and-modify-its-contents-inside-android-apps</link>
      <description>&lt;p&gt;This technical tip shows how to load any existing email message and modify its contents before saving it back to disk using Aspose.Email for Android API. To do this successfully, specify the MessageFormat when loading the email message from disk. In addition, it is important to specify the correct MailMessageSaveType when saving the message back to disk.&#13;
&#13;
To update and save an email, the following steps can be used:&#13;
1.	Create an instance of the MailMessage class.&#13;
2.	Load an existing message using the MailMessage class' load() method and specifying the MessageFormat of the existing message.&#13;
3.	Get the subject using getSubject().&#13;
4.	After modifying the subject, set it again using the setSubject() method.&#13;
5.	Get the body using getHtmlBody().&#13;
6.	AFter modifying the body, set it using the setHtmlBody() method .&#13;
7.	Create an instance of the MailAddressCollection class.&#13;
8.	Get the recipients from the TO field into a MailAddressCollection object using the getTo() method exposed by the MailMessage class.&#13;
9.	Add or remove recipients using the add() and remove() methods exposed by the MailAddressCollection class.&#13;
10.	Get the recipients from the CC field into a MailAddressCollection object using the getCC() method exposed by MailMessage class.&#13;
11.	Add or remove recipients using the add() and remove() methods exposed by the MailAddressCollection class.&#13;
12.	Call the save() method exposed by the MailMessage class, specifying the correct MailMessageSaveType to save the message file to the disk in MSG format.&lt;/p&gt;</description>
      <pubDate>Thu, 22 May 2014 14:54:02 UTC</pubDate>
      <guid>https://snipplr.com/view/74654/load-existing-email-message-and-modify-its-contents-inside-android-apps</guid>
    </item>
    <item>
      <title>(C) Body Mass Index Solver - oslinux23</title>
      <link>https://snipplr.com/view/63082/body-mass-index-solver</link>
      <description>&lt;p&gt;Body Mass Index Solver&lt;/p&gt;</description>
      <pubDate>Sun, 05 Feb 2012 21:29:57 UTC</pubDate>
      <guid>https://snipplr.com/view/63082/body-mass-index-solver</guid>
    </item>
    <item>
      <title>(jQuery) iPad/iPhone Orientation Body Class - iridium</title>
      <link>https://snipplr.com/view/61898/ipadiphone-orientation-body-class</link>
      <description>&lt;p&gt;This function will detect the orientation (portrait/landscape) of an iOS device and set the body class to either portrait or landscape, as well as providing a global variable for use elsewhere in your JS.&#13;
&#13;
If you require multiple classes on your body tag, simply alter the code to use jQuery's addClass() and removeClass() functions.&lt;/p&gt;</description>
      <pubDate>Thu, 15 Dec 2011 03:33:05 UTC</pubDate>
      <guid>https://snipplr.com/view/61898/ipadiphone-orientation-body-class</guid>
    </item>
    <item>
      <title>(TYPO3) Typoscript add a class to the body tag - stwsimon</title>
      <link>https://snipplr.com/view/55969/typoscript-add-a-class-to-the-body-tag</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 01 Jul 2011 03:14:36 UTC</pubDate>
      <guid>https://snipplr.com/view/55969/typoscript-add-a-class-to-the-body-tag</guid>
    </item>
    <item>
      <title>(PHP) WordPress extended body class - nathanbweb</title>
      <link>https://snipplr.com/view/53635/wordpress-extended-body-class</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 17 May 2011 04:44:57 UTC</pubDate>
      <guid>https://snipplr.com/view/53635/wordpress-extended-body-class</guid>
    </item>
    <item>
      <title>(JavaScript) Amazing Website Javascript Initialization Code Block v1 - cmndo</title>
      <link>https://snipplr.com/view/52435/amazing-website-javascript-initialization-code-block-v1</link>
      <description>&lt;p&gt;Link body class names to trigger javascript. It requires jQuery.&lt;/p&gt;</description>
      <pubDate>Fri, 22 Apr 2011 01:32:08 UTC</pubDate>
      <guid>https://snipplr.com/view/52435/amazing-website-javascript-initialization-code-block-v1</guid>
    </item>
    <item>
      <title>(Other) HTML head y Body - nosmk</title>
      <link>https://snipplr.com/view/49843/html-head-y-body</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 01 Mar 2011 05:41:16 UTC</pubDate>
      <guid>https://snipplr.com/view/49843/html-head-y-body</guid>
    </item>
    <item>
      <title>(CSS) Page borders in pure CSS - mrwolfgraphics</title>
      <link>https://snipplr.com/view/46052/page-borders-in-pure-css</link>
      <description>&lt;p&gt;Inserire bordi alla pagina tramite CSS&lt;/p&gt;</description>
      <pubDate>Thu, 23 Dec 2010 01:31:50 UTC</pubDate>
      <guid>https://snipplr.com/view/46052/page-borders-in-pure-css</guid>
    </item>
    <item>
      <title>(CSS) Set body font-size to 62.5% for Easier em Conversion - alozuldo</title>
      <link>https://snipplr.com/view/42843/set-body-fontsize-to-625-for-easier-em-conversion</link>
      <description>&lt;p&gt;If you would like to use relative units (em) for your font sizes, declaring 62.5% for the font-size property of the body will make it easier to convert px to em. By doing it this way, converting to em is a matter of dividing the px value by 10 (e.g. 24px = 2.4em).&lt;/p&gt;</description>
      <pubDate>Sun, 24 Oct 2010 10:06:13 UTC</pubDate>
      <guid>https://snipplr.com/view/42843/set-body-fontsize-to-625-for-easier-em-conversion</guid>
    </item>
    <item>
      <title>(CSS) Centering body in browser window - stephcode</title>
      <link>https://snipplr.com/view/39869/centering-body-in-browser-window</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 02 Sep 2010 05:51:44 UTC</pubDate>
      <guid>https://snipplr.com/view/39869/centering-body-in-browser-window</guid>
    </item>
    <item>
      <title>(XHTML) XHTML Transitional Source Code... - jaymanpandya</title>
      <link>https://snipplr.com/view/38338/xhtml-transitional-source-code</link>
      <description>&lt;p&gt;XHTML Source Code...&lt;/p&gt;</description>
      <pubDate>Wed, 04 Aug 2010 16:26:48 UTC</pubDate>
      <guid>https://snipplr.com/view/38338/xhtml-transitional-source-code</guid>
    </item>
    <item>
      <title>(jQuery) JQUERY DISPLAY BACK TO TOP LINK BASED ON PAGE HEIGHT - vagrantradio</title>
      <link>https://snipplr.com/view/28427/jquery-display-back-to-top-link-based-on-page-height</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 16 Feb 2010 15:40:47 UTC</pubDate>
      <guid>https://snipplr.com/view/28427/jquery-display-back-to-top-link-based-on-page-height</guid>
    </item>
    <item>
      <title>(PHP) Fetch and display RSS feeds - gd6d</title>
      <link>https://snipplr.com/view/24154/fetch-and-display-rss-feeds</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 02 Dec 2009 16:19:26 UTC</pubDate>
      <guid>https://snipplr.com/view/24154/fetch-and-display-rss-feeds</guid>
    </item>
    <item>
      <title>(CSS) CSS Horizontally centered body - PeteW</title>
      <link>https://snipplr.com/view/19388/css-horizontally-centered-body</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 08 Sep 2009 09:10:45 UTC</pubDate>
      <guid>https://snipplr.com/view/19388/css-horizontally-centered-body</guid>
    </item>
    <item>
      <title>(CSS) HTML Body Center Container - irishspacemonk</title>
      <link>https://snipplr.com/view/16344/html-body-center-container</link>
      <description>&lt;p&gt;Creates framework for HTML centered web page.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Jun 2009 12:44:36 UTC</pubDate>
      <guid>https://snipplr.com/view/16344/html-body-center-container</guid>
    </item>
    <item>
      <title>(PHP) simple Body ID Function - iTony</title>
      <link>https://snipplr.com/view/6224/simple-body-id-function</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 14 May 2008 14:05:08 UTC</pubDate>
      <guid>https://snipplr.com/view/6224/simple-body-id-function</guid>
    </item>
    <item>
      <title>(HTML) Drupal body class - markhope</title>
      <link>https://snipplr.com/view/1673/drupal-body-class</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 16 Nov 2006 09:33:26 UTC</pubDate>
      <guid>https://snipplr.com/view/1673/drupal-body-class</guid>
    </item>
  </channel>
</rss>
