[CSCMail-Users] CVS Commit: CSCMail 1.7.x
Brought to you by:
countzer0
From: Steven K. <sk...@st...> - 2000-09-13 22:32:49
|
Date: Wed Sep 13 18:22:00 EST 2000 (countzero) Fixed some bugs... 1) Attachments with spaces in the filenames could not be viewed/saved correctly via the "inline attachments" hyperlinks. This has been fixed. 2) When using an HTML widget, if a text/plain part was found BEFORE a text/html part, the text/plain part was used for display, and the text/html part showed up in the attachment list... now, we scan the parts first, and find both the first text and the first html part. If we are using an HTML widget to view the mail, we set $view_part = $firsthtml, and discard $firsttext. If we are using a text widget to view the mail, we set $view_part = $firsttext and we add $firsthtml to the attachment list (so that you can view it in Netscape or whatever) I am a little worried, since we discard $firsttext when viewing HTML, that there may be some "missing" attachments.. (say, if someone sends you a message with a text/html body, and a text/plain attachment that is different than the text/html body...) if this is an issue, I will add the $firsttext to the attachment list... What I really need is a way to compare $firsttext and $firsthtml to ensure that they are the same message, and then only display the right one, discarding the other... Anyway... this new method is better than before... -CZ |