<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ThinkOvi! - Website transfer and Server migration services &#187; squirrelmail</title>
	<atom:link href="http://www.thinkovi.com/tag/squirrelmail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thinkovi.com</link>
	<description>Get your website moved the right way by professionals</description>
	<lastBuildDate>Fri, 15 Oct 2010 10:29:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Down and dirty with SquirrelMail</title>
		<link>http://www.thinkovi.com/down-and-dirty-with-squirrelmail/</link>
		<comments>http://www.thinkovi.com/down-and-dirty-with-squirrelmail/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 13:08:23 +0000</pubDate>
		<dc:creator>Ovidiu</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[squirrelmail]]></category>

		<guid isPermaLink="false">http://www.thinkovi.com/?p=187</guid>
		<description><![CDATA[I have to admit, the gmail and yahoo new email interfaces are great, if you don&#8217;t mind the advertising, and very easy to use, however i have been using for a long time SquirrelMail to access the email directly on my server! While the interface that comes with the cpanel installation is very basic, there [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_212" class="wp-caption alignright" style="width: 278px"><img class="size-full wp-image-212" title="squirrelmail_logo" src="http://www.thinkovi.com/wp-content/uploads/2009/11/squirrelmail_logo.png" alt="SquirrelMail Logo" width="268" height="82" /><p class="wp-caption-text">SquirrelMail Logo</p></div>
<p>I have to admit, the gmail and yahoo new email interfaces are great, if you don&#8217;t mind the advertising, and very easy to use, however i have been using for a long time SquirrelMail to access the email directly on my server!</p>
<p>While the interface that comes with the cpanel installation is very basic, there is one thing i would have liked to have, like in Yahoo, when you get an email, the page title automatically changes with the number of unread emails!</p>
<p><span id="more-187"></span></p>
<p>Now, squirrelmail already have this auto-refresh thing, so here is what you need to do in order to get the titles of the top frame updated:</p>
<ol>
<li> locate and open on your server the <strong>squirrelmail/src/left_main.php</strong> file</li>
<li> locate this line</li>
<pre class="php" name="code">/* Print unseen information. */
if ($unseen_string != '') {</pre>
<li> Add this code just before the if statement</li>
<pre class="php" name="code">if($mailbox == 'INBOX'){
   if ($unseen_string != ""){
      $line .= "&lt;script type='text/javascript'&gt;top.document.title='Inbox ".$unseen_string."'&lt;/script&gt;";
   }else{
      $line .= "&lt;script type='text/javascript'&gt;top.document.title='No unread messages'&lt;/script&gt;";
   }
}</pre>
</ol>
<p>Now, your squirellmail should look like this when getting a new email</p>
<p><img class="alignnone size-full wp-image-195" title="squirrelmail" src="http://www.thinkovi.com/wp-content/uploads/2009/11/squirrelmail.png" alt="squirrelmail" width="232" height="34" /></p>
<p>And obviously, this will only work for the INBOX folder!</p>
<p>Happy squirrelling <img src='http://www.thinkovi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkovi.com/down-and-dirty-with-squirrelmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

