<?xml version="1.0"?>
    <rss version="2.0">
    <channel>
        <title>Latest Posts in: Hastymail 2</title>
        <link>http://http://www.hastymail.org/forums/Hastymail_2</link>
        <description></description>
        <item>
            <title>Thanks (How to customize, add sound when new mail arrives?) posted by G Saunders</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/748/</link>
            <pubDate>Sat, 03 Jan 2009 10:05:09 -0500</pubDate>
            <description>Hey,Thanks for the enthusiastic response to my post.  I'll give these a try.  Hastymail has been working great on my HTC Touch/Windoze Mobil phone, by the way, it's not a Blackberry but I don't want it to be... </description>
        </item>
        <item>
            <title>Re: How to customize, add sound when new mail arrives? (How to customize, add sound when new mail arrives?) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/748/</link>
            <pubDate>Fri, 02 Jan 2009 00:33:36 -0500</pubDate>
            <description>  A first version of a &quot;notices&quot; plugin is now in SVN that supports playing a sound file when new mail arrives. You can read about it in the News section:http://www.hastymail.org/blogs/News/New_Notices_Plugin_in_SVN/</description>
        </item>
        <item>
            <title>Re: How to customize, add sound when new mail arrives? (How to customize, add sound when new mail arrives?) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/748/</link>
            <pubDate>Thu, 01 Jan 2009 14:30:49 -0500</pubDate>
            <description>I wanted to mention I started on a &quot;notices&quot; plugin that will allow you to setup a pop up window or a sound when new mail arrives. It is not in SVN yet but I am actively working on it and might even finish the initial version today. I will make an announcement in the News section when its ready for some testing.Thanks for the great idea,Jason</description>
        </item>
        <item>
            <title>Re: How to customize, add sound when new mail arrives? (How to customize, add sound when new mail arrives?) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/748/</link>
            <pubDate>Tue, 30 Dec 2008 16:28:12 -0500</pubDate>
            <description>Thanks for your interest in Hastymail. As for customizing here are some ideas:- In the hastymail.conf file is an option called &quot;site_logo&quot;, this will let you add your own logo to the upper left of each page- You can make a custom login page easily by including the following form on any HTML page:&lt;form method=&quot;post&quot; action=&quot;/hastymail2/?page=login&quot;&gt;&lt;input type=&quot;text&quot; name=&quot;user&quot; /&gt;&lt;input type=&quot;password&quot; name=&quot;pass&quot; /&gt;&lt;input type=&quot;submit&quot; name=&quot;login&quot; value=&quot;Login&quot; /&gt;&lt;/form&gt;Much of the layout of Hastymail is in the themes, both in CSS files and the PHP templates. All the themes except for Albook Sepia use the php templates found in themes/default/templates. The Albook Sepia theme has its own set of templates.As for adding a custom sound or some other notice of new mail (like squirrelmail) this would probably be best developed as a plugin. If you are interested in plugin development there are several plugins already to use for examples, and there are quite a few documents describing the API in the docs directory of the source. I don't think it would be too hard for me to knock out a &quot;new mail&quot; plugin, I will start to work on one tonight time permitting.Thanks for the feedback,Jason Munrojason@hastymail.org </description>
        </item>
        <item>
            <title>How to customize, add sound when new mail arrives? posted by Anonymous</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/748/</link>
            <pubDate>Tue, 30 Dec 2008 11:42:24 -0500</pubDate>
            <description>Hi,I like the 'no frames' format and that hastymail works perfectly well on my smartphone, which make it a great improvement over SquirrelMail.  It was an easy install on my Fedora 8 server.I've been looking for where to start 'customizing' hastymail to make the login page fit my site, add my logo to the pages for mail, and to play a sound when new mail arrives.  But, it's not obvious to me yet where to begin, and some of my attempts have no effect at all. Any help or direction about which files I should be tweaking and which to stay away from will be greatly appreciated.Thanks for the effort getting this recent release out.  </description>
        </item>
        <item>
            <title>Hastymail2 RC 3 Released posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/747/</link>
            <pubDate>Mon, 29 Dec 2008 00:52:57 -0500</pubDate>
            <description>  Hastymail2 RC 3 is now available. Thanks to everyone in the forums for the great testing and feedback. You can read about the release here:http://www.hastymail.org/blogs/News/Hastymail2_RC_3_Released/and download the code here:http://sourceforge.net/project/showfiles.php?group_id=66202&amp;package_id=296745 Jason </description>
        </item>
        <item>
            <title>Re: UTF-8 not supported. (UTF-8 not supported.) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/745/</link>
            <pubDate>Sun, 28 Dec 2008 17:22:09 -0500</pubDate>
            <description>I added an option to SVN that allows you to set the charset used for the IMAP search command to  utf-8, ascii, or none. This will be in the next RC release which should be today or tomorrow. Thanks for the feedback,Jason </description>
        </item>
        <item>
            <title>UTF-8 not supported. posted by Anonymous</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/745/</link>
            <pubDate>Sun, 28 Dec 2008 12:34:48 -0500</pubDate>
            <description>To get filters working, I had to remove the bit of code that referenced &quot;CHARSET UTF-8&quot; and then filters started working.  I have been unable to get Search working.  It has a similar problem where the server php that access the imap server just hangs waiting. </description>
        </item>
        <item>
            <title>Re: smtp_tls vs. smtp_starttls (smtp_tls vs. smtp_starttls) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/736/</link>
            <pubDate>Thu, 25 Dec 2008 13:14:16 -0500</pubDate>
            <description>Thanks for the feedback. Your effort to track down the problem made it quite a bit easier to fix so thanks for the support. I hope to put out an RC3 release before the end of the year and this fix will be included. Jason Munro </description>
        </item>
        <item>
            <title>Re: smtp_tls vs. smtp_starttls (smtp_tls vs. smtp_starttls) posted by Anonymous</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/736/</link>
            <pubDate>Wed, 24 Dec 2008 13:04:49 -0500</pubDate>
            <description>That works.I guess I should have waited a bit before opening the bug report in mantis. Thanks!PS Obviously I have not had a chance to fully use your application yet, but the web pages that I have seen so far look great and your code is very well organized.   </description>
        </item>
        <item>
            <title>Re: smtp_tls vs. smtp_starttls (smtp_tls vs. smtp_starttls) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/736/</link>
            <pubDate>Wed, 24 Dec 2008 12:19:03 -0500</pubDate>
            <description>I am not sure this is even related but I think we are sending 1 extra CRLF in the final line of the DATA command, can you try this patch and see it changes anything? Index: smtp_class.php===================================================================--- smtp_class.php(revision 672)+++ smtp_class.php(working copy)@@ -416,7 +416,7 @@                         }                     }                 }-                $command = $this-&gt;crlf.'.'.$this-&gt;crlf;+                $command = $this-&gt;crlf.'.';                 $this-&gt;send_command($command);                 $res = $this-&gt;get_response();                 if ($this-&gt;compare_response($res, '250') == 0) {  Thanks,Jason       </description>
        </item>
        <item>
            <title>Re: smtp_tls vs. smtp_starttls (smtp_tls vs. smtp_starttls) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/736/</link>
            <pubDate>Wed, 24 Dec 2008 12:07:11 -0500</pubDate>
            <description>We are not pipelining in the SMTP conversation so I don't think that's related (IMAP specifically has a pipeline feature in which clients can send multiple commands at once and receive a group of responses to them). The 451 warning is unfortunately very vague. It would be useful if it told us what exactly the violation was. I am not seeing anything in the code yet.. Jason </description>
        </item>
        <item>
            <title>Re: smtp_tls vs. smtp_starttls (smtp_tls vs. smtp_starttls) posted by Anonymous</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/736/</link>
            <pubDate>Wed, 24 Dec 2008 11:27:35 -0500</pubDate>
            <description>I added smtp_tls back in because I was getting this at the top of the page when I tried to send a message:Warning: fgets() [function.fgets]: SSL: fatal protocol error in /var/www/html/h/lib/smtp_class.php on line 110(I decided to give smtp_tls a try because i noticed in the code that it appends tls:// at the beginning of the server name. but, as you mentioned, it didn't do anything helpful.)Anyway,  I think I've made a bit of progress. In the send_message function inserted:echo '&lt;br&gt;----------------&lt;br&gt;';$this-&gt;puke(true);echo '&lt;br&gt;----------------&lt;br&gt;';Just before:                if ($this-&gt;compare_response($res, '250') == 0) {                    $result = false;                }                else {                    $result = 'An error occured sending the message DATA';                }                                                                When I did that I got this:[8] =&gt; Array ( [0] =&gt; 451 4.5.0 SMTP protocol violation, see RFC 2821 d24sm13875551and.4 (everything before [8] looked &quot;OK&quot;.)I searched around for a cause to this and turned up the following thread (link at bottom) but I don't know anything about SMTP or pipelining.   I did notice that your method signature for send_command in imap_class has $piped=false  whereas the send_command signature in smtp_class does not have this option.  (I'll try and rewite the send_command in smtp_class later but figured best to run this by you first to see if I was going in the right direction.)http://forums.devshed.com/mail-server-help-111/gmail-responds-451-4-5-0-smtp-protocol-violation-568574.html</description>
        </item>
        <item>
            <title>Re: smtp_tls vs. smtp_starttls (smtp_tls vs. smtp_starttls) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/736/</link>
            <pubDate>Wed, 24 Dec 2008 09:02:33 -0500</pubDate>
            <description>I have not had a chance to test, but should have some time this afternoon. The first thing I notice however is that you have both tls AND starttls enabled which is incorrect. Either the connection is made using tls, or the connection is made using a regular socket connection and the starttls command initiates a tls connection, so they should not both be used at the same time. Try disabling the smtp_tls setting and see if that helps.Jason </description>
        </item>
        <item>
            <title>Re: smtp_tls vs. smtp_starttls (smtp_tls vs. smtp_starttls) posted by Anonymous</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/736/</link>
            <pubDate>Tue, 23 Dec 2008 19:11:50 -0500</pubDate>
            <description># SMTP SETTINGS# ----------------smtp_server = smtp.gmail.comsmtp_port = 587smtp_tls = truesmtp_starttls = truesmtp_authentication_type = plainI've traced through the code and I see that I am getting 'authed'.  So I know its going that far.One thing that confused me a bit is that function connect() returns false when it is connected (is that right?).# IMAP SETTINGSimap_port = 993imap_server = imap.gmail.comimap_read_only = falseimap_ssl = true  imap_auth = trueimap_starttls = true  imap_folder_prefix =imap_folder_exclude_hidden = trueimap_folder_delimiter_overrride = falseimap_use_folder_cache = trueimap_use_uid_cache = trueimap_use_header_cache = trueimap_display_name = Mainimap_disable_sort_speedup = false</description>
        </item>
        <item>
            <title>Re: smtp_tls vs. smtp_starttls (smtp_tls vs. smtp_starttls) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/736/</link>
            <pubDate>Tue, 23 Dec 2008 18:50:09 -0500</pubDate>
            <description>The bug regarding smtp_tls vs smtp_starttls in the config file was reported shortly after RC2 was released and is fixed in SVN. As for the smtp_starttls problem (the error sending message DATA) that is a new issue. I have not tried to use Hastymail to access Gmail accounts, can you tell me what you are using for the smtp server settings? I will try to reproduce the problem here and see what I can figure out. If you like you can create a bug report at the Tracker (registration is free) I will also take a look at the state of debugging the smtp routines.Thanks for the feedback,Jason Munrojason@hastymail.org </description>
        </item>
        <item>
            <title>smtp_tls vs. smtp_starttls posted by Anonymous</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/736/</link>
            <pubDate>Tue, 23 Dec 2008 16:28:47 -0500</pubDate>
            <description>I have been trying to use hastymail2 with gmail's imap server.The first problem that I had was this:&quot;Authorization failure: 5.7.0 Must issue a STARTTLS command first.&quot;I looked at the code and found that the conf file has &quot;smtp_tls&quot; but smtp_class.php is looking for &quot;smtp_starttls&quot;.I changed the conf file to now have &quot;smtp_starttls=true&quot;But now I am getting this error:&quot;An error occured sending the message DATA&quot;I would like to debug this problem but it seems that the smtp.puke is not called.  I do not understand php very well but I guess there is no way to get the smtp object into index.php so that the puke function is called at the bottom.Any ideas on how I can get hastymail2 to work with gmail?(oh, I am able to read my gmail,  I just cannot send mail)   </description>
        </item>
        <item>
            <title>Re: Custom Login Page (Custom Login Page) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/714/</link>
            <pubDate>Thu, 18 Dec 2008 23:08:36 -0500</pubDate>
            <description>  I am not sure if you are still interested in this but I stumbled upon a way to do what you want. In the hastymail2.conf file is a setting called &quot;url_base&quot;.  Normally this is set to the directory containing the Hastymail2 code but you can add &quot;index.php&quot; to the end and it should solved the problem:url_base = /hastymail2/index.phpSeems to work fine here and all the urls now contain a direct reference to index.php.Hope that helps,Jason Munrojason@hastymail.org</description>
        </item>
        <item>
            <title>Re: Tango theme for Hastymail2 (Tango theme for Hastymail2) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/732/</link>
            <pubDate>Tue, 16 Dec 2008 21:25:29 -0500</pubDate>
            <description>    As always excellent work. This is in SVN already and will be in RC3.Jason </description>
        </item>
        <item>
            <title>Re: Looking good! (Hastymail2 RC 2 has been released) posted by sailfrog</title>
            <link>http://www.hastymail.org/forums/Hastymail_2/727/</link>
            <pubDate>Tue, 16 Dec 2008 21:24:03 -0500</pubDate>
            <description>  Thanks for the feedback. I agree that the navigation controls could be better so I am still open to ideas on how to improve it. Don't forget you can now set the default message action to be associated with the controls on the upper right of the message view page from the message view section of the options page. There are already some various fixes in SVN so I hope to get an RC3 out in the next few weeks.Jason </description>
        </item>
    </channel>
    </rss>