Wrong decoded filenames of attachments

Hi,
sometimes i receive mails from windows users where the filenames of the attachments are not decoded correct. It seems that apple mail does not handle filenames encoded like this wrong:
Content-Type: application/vnd.ms-excel;
name="=?iso-8859-15?Q?Industrieprojekt=FCbersicht=5FWagner_20071207=2Exls?="
Content-transfer-encoding: base64
Content-Disposition: attachment;
filename="=?iso-8859-15?Q?Industrieprojekt=FCbersicht=5FWagner_20071207=2Exls?= "
other mailer have no problems with this (kmail,mutt,firebird,outlook)
Is there any way to handle this attachments without giving them a new name manually?
Thanks
Olaf

Hmm.. guess apple does not want a way for us to view the list of attachments.
guess will have to switch my customer over to thunderbird
Message was edited by: T Poulter

Similar Messages

  • ITunes looking for wrong .xml filename, adding /

    Hi,
    I have been podcasting for about a year now. However, the last 4 weeks of my show haven't updated on my page and I have found out why...when I click on the information icon it is looking for the filename
    http://www.deucecreative.co.uk/upload/traxsource/ts1_podcast.xml/
    They have added a forward slash (.xml/) at the end. It is impossible to name a file that way, and I am not sure why it is looking for that filename. Nothing has changed on my xml and it doesn't appear that way anywhere else. I have validated it with feedvalidator and it's fine.
    If I subscribe to "http://www.deucecreative.co.uk/upload/traxsource/ts1_podcast.xml" it works correctly, just won't update on the main page.
    If anyone has some sort of solution it would be much appreciated. I have already tried to contact their support Thanks.

    Hi Greg,
    Thanks for replying. I actually tried to add that line it to point it to the correct filename. I see that that xml doesn't validate so I have removed it and re-uploaded a valid one.
    http://www.deucecreative.co.uk/upload/traxsource/ts1_podcast.xml
    here is a direct link to get a better idea of what it happening..
    http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520
    That only goes up to week 61. Should go up to 64. Once you subscribe & try do download you get the ( i ) error message.
    If I get <itunes:new-feed-url> to point to a valid xml do you think that might solve the problem?
    Thanks again.

  • Cryptic filenames of attachments - how to translate them?

    Hello,
    i have a problem with the filename of an attachment. In my code i get the name with
    String fileName = part.getFileName();
    But now i got a mail with the following source:
    ------=_NextPart_000_0009_01C45633.A009BC90
    Content-Type: application/msword;
         name="=?iso-8859-1?Q?Software_Qualit=E4tswesen.doc?="
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
         filename="=?iso-8859-1?Q?Software_Qualit=E4tswesen.doc?="
    It's a kind of strange to show a filename like ?iso-8859-1?Q?Software_Qualit=E4tswesen.doc?= in my application..
    I don't know if that's the cause, but the correct filename contains german mutations (I hope thats the correct translation for what i mean: ae, oe, ue)
    How do i have to handle this?
    Tobias

    Those are encoded according to RFC 2047 (which you can read about here if you really want to). I would have thought that JavaMail would implement that RFC, but perhaps it only implements it for headers like subject line. Try upgrading to the latest version of JavaMail.
    (The word is "umlaut".)

  • View Filenames of attachments

    Good Day,
    Im looking for a way to see if it is possible to view a list or see the file names of the attachments added to a new mail message instead of icons.
    as when adding multiple attachments it makes it hard to see the file names.
    I know thunderbird and eudora allows this but cannot seem to fine it in mail

    Hmm.. guess apple does not want a way for us to view the list of attachments.
    guess will have to switch my customer over to thunderbird
    Message was edited by: T Poulter

  • Yosemite Mail.app doesn't MIME decode certain mail attachments

    My CCTV system sends short e-mails with 4 lines of text and a .JPG attachment.
    These e-mails can be read fine on Mavericks and iOS 8, but not on Yosemite:
    On Yosemite OS X 10.10 (14A389) Mail Version 8.0 (1990.1) the attachment is still MIME/base64 encoded (and therefore doesn't open as a JPG picture).
    If I save the attached non-working ".jpg" file and the copy/paste the content to something like http://tomeko.net/online_tools/base64.php?lang=en , the hex data of the correct image file is decoded. But of course, I want Mail to do that for me...
    This happens with mails when received from the IMAP server as well as with mails that were received a year ago and stored in a local folder (and of course worked fine a year ago with the Mac OS X version at that time).
    Filed as rdar://18701360
    Cheers
    mh

    Note that the line break before "boundary=——part1——" after the base64 encoded attachment ist missing, so that the problematic e-mails are technically not 100% RFC 1341 compliant.
    However, no other e-mail client I have tested has a problem with this, including the Mail app that came with Mavericks, so I would really expect that Apple should not degrade the compatibility with slightly-off e-mails from 10.9 to 10.10.
    Especially because I cannot change the source of these e-mails, an embedded system that worked there for a long time already and I'm sure there will _not_ be a firmware update because of this.

  • Opening Wrong Word Program for Attachments

    My wife has a new iMac-intel. We installed office X, but had not started using it. The first email she received had a word document. She opened it and it was opened in Word 2003 which is a trial version. I moved Office 2003 to the trash and now every time she trys to open an attachment that is a word document it says it can not find the application, and she has to select Word X as the application. Is there a way to make Word X the default app to open a .doc file? Thanks.

    Stanley
    Control-click on the document icon in the message window, and select "Open With..."; Choose "Other" and then navigate to the Word Document Icon in the Office X Folder and select that.
    Or
    Save the document to a folder and then open in a Finder window. Highlight the document icon and choose get info from the "File" menu. Choose "Open With...", select "Other" and navigate to the Office X folder and select the Word icon there.
    You can then specify to use Word in Office X for all similar documents.

  • Encfs filename decoding error (mounting works, mountpoint is empty)

    Hi!
    a fairly large (1.9 GB) encfs-encrypted directory of mine stopped working some time ago, and I am hoping someone here can help me regain access to the data.
    This is the situation:
    – The directory can still be mounted, but the mount directory appears empty.
    – The encrypted data seems to be intact: There is a ".encfs6.xml" and a hierarchy of gibberish-named files and folders, which amount to 1.9 GB altogether.
    – I can still write to the directory. (I. e. if I mount the dir, create file with "touch <file>", unmount, and remount again, the newly created file is still there.)
    – When I run encfs with the "-vf" options, I see these error messages:
    20:42:00 (DirNode.cpp:132) error decoding filename: be1k7L8fVkv63EsbHLLxoJtY
    20:42:00 (DirNode.cpp:132) error decoding filename: .encfs6.xml
    – When I do "ls" on the dir, the command works, while "encfs -vf" says:
    20:57:09 (encfs.cpp:92) getxattr /home/carlos/mnt/ssh/morrigan/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    20:57:09 (encfs.cpp:99) getxattr error: Operation not supported
    The full output of "encfs -vf" is quoted below. You may notice the the encrypted data is accessed through an sshfs mount. This is not the present source of the problem, as I can reproduce it directly on the server. It may, however, be its origin: The data could have been corrupted by a network interruption (or so I imagine).
    There is a similar problem report on askubuntu. It is even from around the same time when it hit me (roughly two months ago):
    http://askubuntu.com/questions/360847/e … g-the-data
    Also, there apparently was a bug in the boost libraries in 2010 which produced similar errors (among others), but which does not seem to be connected in any way:
    https://bbs.archlinux.org/viewtopic.php?id=92209
    Any ideas?
    $ encfs -vf /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/ /home/carlos/.gemein/encfs/
    21:03:07 (main.cpp:523) Root directory: /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:07 (main.cpp:524) Fuse arguments: (fg) (threaded) (keyCheck) encfs /home/carlos/.gemein/encfs/ -f -s -o use_ino -o default_permissions
    21:03:07 (FileUtils.cpp:177) version = 20
    21:03:07 (FileUtils.cpp:181) found new serialization format
    21:03:07 (FileUtils.cpp:199) subVersion = 20100713
    21:03:07 (Interface.cpp:165) checking if ssl/aes(3:0:2) implements ssl/aes(3:0:0)
    21:03:07 (SSL_Cipher.cpp:370) allocated cipher ssl/aes, keySize 24, ivlength 16
    21:03:07 (Interface.cpp:165) checking if ssl/aes(3:0:2) implements ssl/aes(3:0:0)
    21:03:07 (SSL_Cipher.cpp:370) allocated cipher ssl/aes, keySize 24, ivlength 16
    21:03:07 (FileUtils.cpp:1620) useStdin: 0
    EncFS Password:
    21:03:20 (Interface.cpp:165) checking if ssl/aes(3:0:2) implements ssl/aes(3:0:0)
    21:03:20 (SSL_Cipher.cpp:370) allocated cipher ssl/aes, keySize 24, ivlength 16
    21:03:21 (FileUtils.cpp:1628) cipher key size = 44
    21:03:21 (Interface.cpp:165) checking if nameio/block(3:0:1) implements nameio/block(3:0:0)
    21:03:28 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:28 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:39 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:39 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (encfs.cpp:213) getdir on /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (BlockNameIO.cpp:185) padding, _bx, finalSize = 139, 16, -123
    21:06:41 (DirNode.cpp:132) error decoding filename: be1k7L8fVkv63EsbHLLxoJtY
    21:06:41 (DirNode.cpp:132) error decoding filename: .encfs6.xml
    21:06:41 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    21:06:41 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    21:06:41 (encfs.cpp:92) getxattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    21:06:41 (encfs.cpp:99) getxattr error: Operation not supported
    Edit: I have by now resigned myself to the fact that the file .encfs6.xml must have been corrupted somehow, which means that the data are unrecoverably lost. Lesson learned: Backups are extra-important for encrypted data!
    Last edited by Franek (2014-03-03 21:14:16)

    You can implement this by writing the module to throw an exception or whatever method you want to execute.
    If you don't want to receive an error message then module is suitable for you.
    Gaurav Jain

  • Can't get the attachment filename out of a Part (with non ascii characters)

    Hello, all and happy new year :)
    My issue is with non ascii filename in attachments... Yes i've read the FAQ : http://www.oracle.com/technetwork/java/faq-135477.html#encodefilename
    I can't get the filename out of the BodyPart for those kind of attachments
    here's my unit test :
         * contains various parts from various mailer encoded in different ways...
         private enum EncodedFileNamePart{
              OUTLOOK("Content-Type: text/plain;\n name=\"=?iso-8859-1?Q?c'estd=E9j=E0no=EBl=E7ac'estcool.txt?=\" \nContent-Transfer-Encoding: 7bit\nContent-Disposition: attachment;\n filename=\"=?iso-8859-1?Q?c'estd=E9j=E0no=EBl=E7ac'estcool.txt?=\" \n\nnoel 2010\n","c'estdéjànoëlçac'estcool.txt"),
              GMAIL("Content-Type: text/plain; charset=US-ASCII; name=\"=?ISO-8859-1?B?ZOlq4G5v62znYWNlc3Rjb29sLnR4dA==?=\"\nContent-Disposition: attachment; filename=\"=?ISO-8859-1?B?ZOlq4G5v62znYWNlc3Rjb29sLnR4dA==?=\"\nContent-Transfer-Encoding: base64\nX-Attachment-Id: f_giityr5r0\n\namluZ2xlIGJlbGxzIQo=\n","déjànoëlçacestcool.txt"),
              THUNDERBIRD("Content-Type: text/plain;\n name=\"=?ISO-8859-1?Q?d=E9j=E0no=EBl=E7acestcool=2Etxt?=\"\nContent-Transfer-Encoding: 7bit\nContent-Disposition: attachment;\n filename*0*=ISO-8859-1''%64%E9%6A%E0%6E%6F%EB%6C%E7%61%63%65%73%74%63%6F;\n filename*1*=%6F%6C%2E%74%78%74\n\njingle bells!\n","déjànoëlçacestcool.txt"),
              EVOLUTION("Content-Disposition: attachment; filename*=ISO-8859-1''d%E9j%E0no%EBl.txt\nContent-Type: text/plain; name*=ISO-8859-1''d%E9j%E0no%EBl.txt; charset=\"UTF-8\" \nContent-Transfer-Encoding: 7bit\n\njingle bells\n","déjànoël.txt"),
              String content=null;
              String target=null;
              private EncodedFileNamePart(String content,String target){
                   this.content=content;
                   this.target=target;
              public Part get(){
                   try{
                   ByteArrayInputStream bis = new ByteArrayInputStream(this.content.getBytes());
                   Part part = new MimeBodyPart(bis);
                   bis.close();
                   return part;
                   catch(Throwable e){
                        return null;
              public String getTarget(){
                   return this.target;
         @Test
         public void testJavamailDecode() throws MessagingException, UnsupportedEncodingException{
              System.setProperty("mail.mime.encodefilename", "true");
              System.setProperty("mail.mime.decodefilename", "true");
              for(EncodedFileNamePart part : EncodedFileNamePart.values())
                   assertEquals(part.name(),MimeUtility.decodeText(part.get().getFileName()),part.getTarget());     
    I take a NullPointerExcepion in the decodeText because getFileName() return null for the EVOLUTION case, and work well with OUTLOOK, THUNDERBIRD and GMAIL.
    Evolution's content type is "Content-Disposition: attachment; filename*=ISO-8859-1''d%E9j%E0no%EBl.txt" wich doesn't look like the other (looks like the RFC 2616 or RFC5987 to do it.)
    How can i handle this situation except by writting my own decoder?
    Thanks for your answers!
    Edited by: user13619058 on 4 janv. 2011 07:44

    Set the System property "mail.mime.decodeparameters" to "true" to enable the RFC 2231 support.
    See the javadocs for the javax.mail.internet package for the list of properties.
    Yes, the FAQ entry should contain those details as well.

  • Delete Attachments from SharePoint list

    Hello, 
    I created InfoPath Form, and users can attach a file. I want to delete the attachments from the SharePoint list after a while (Privacy issues). How can I do it? I searched about it and I found some codes but I'm not sure how to use them. Could anyone help
    me? 
    Thank You
    Dan

    Hi Gary,
    I would like to suggesting to used Event Receiver on that List. 
    below example of how to create event receiver on list?
    CREATING
    EVENT RECEIVER IN SHAREPOINT 2010
    another link to showing all method of  SPItemEventReceiver
    event handler. you can used `ItemAdded`
    or `ItemAttachmentAdded` override method to listItem.
    SharePoint Event Handlers
    Than used @Yaoyao Chen's Code.
    code :
    public override void ItemAdded(SPItemEventProperties properties)
    SPListItem item= properties.ListItem;
    List<string> fileNames = new List<string>();
    foreach (string fileName in item.Attachments)
    fileNames.Add(fileName);
    foreach(string fileName in fileNames)
    item.Attachments.Delete(fileName);
    item.Update();

  • Mail.app: I can't send attachment with "space" in filename

    Hi.
    I've this kind of problem. I think it is Mail.app problem. The mail isn't sent if the attachment's filename contains "space" (eg: "file name.pdf").
    The same email is sent finw if I use Thunderbird with the same SMTP server (Leopard Server) and from the same machine.
    If the recipinets in local (not relayed over internet) it works well. Otherwise the SMTP server tell me it have lost connection whith relay server (ISP SMTP server).
    I've used Lotus domino Server as SMTP server with the same result.
    If I cut the "space" (' ') in the attachment's filename Mail.app works fine as well.
    HELP!
    thanks.
    P.S.: sorry for my english
    Message was edited by: odolo
    Message was edited by: odolo

    There is a bug which causes the filenames of attachments with a space or an accented character in the name to have characters appended to the filename extension; it may be that it also sometimes stops the attachment from sending. But other people have reported problems with mails with attachments not sending regardless of the filename, so I think the next software update will see some fixes.
    Meanwhile, don't use spaces!
    AK

  • Decoding attachment names in mail

    Hi there,
    it seems I do not get rid of the decoding problems. After getting the first problem solved [how to decode attachment filename with character set and continuation?|http://forums.sun.com/thread.jspa?threadID=http://forums.sun.com/thread.jspa?threadID=5311583] I just a follow-up which I do not really understand.
    I have a filename in a mail like
    "BRH-Bericht nach=?ISO-8859-15?Q?=A788=282=29BHO_IT-Wirtschaftlichkeits?==?ISO-8859-15?Q?betrach"tungen_VII2-2004-13178_v=2E_19=2E06=2E08=2E?==?ISO-8859-15?Q?pdf?="
    (without quotes)
    With System.setProperty("mail.mime.decodefilename", true) set, I get as decoded filename:
    BRH-Bericht nach �88 (2)BHO IT-Wirtschaftlichkeits=?ISO-8859-15?Q?betrachtungen_VII2-2004-13178_v=2E_19=2E06=2E08=2E?==?ISO-8859-15?Q?pdf?=
    what I should get:
    BRH-Bericht nach �88 (2)BHO IT-Wirtschaftlichkeitsbetrachtungen VII2-2004-13178 v. 19.06.08
    The method MimeUtility.decodeText() does also not seem to change anything in the result. Can anybody help or tell me a place to find some answers to this encoding stuff, it seems to me that I do not really understand what's behind it.
    Regards Karsten

    Recently, dealing with a Java Mail based application, I stumbled across file names encoded like this:
    --__Next_1218544601_Part105__
    Content-Disposition: Attachment; filename="=?ISO-8859-1?b?UGzkbmUxMUE1REY5MDAwMjUwNzktNTA4NS0xX3BkZi56aXA=?="
    Content-Type: application/octet-stream;
    Name="=?ISO-8859-1?b?UGzkbmUxMUE1REY5MDAwMjUwNzktNTA4NS0xX3BkZi56aXA=?="
    Content-Transfer-Encoding: Base64Am I suffering from a similar problem? Browsing the forums and the JavaMail API reference (mainly related to the MimeUtility class), I initialized my Session using these settings...
    props.put("mail.mime.decodeparameters","true");
    props.put("mail.mime.decodetext.strict","false");... which didn't change anything however. Using MimeUtility.decodeText() on that does create file names not even slightly resembling what the original filename is supposed to be (something like "Pl�ne115....zip", trouble caused by the "�" obviously as it seems to work otherwise with mails sent by the same sender). Or am I still missing something, is such an encoding of file name common practise? Haven't at the very least seen it this way, so far...
    Cheers & thanks,
    Kristian

  • Removing attachments from Purchase Order using DIAPI

    Dear all,
    I have added attachment to PO using DIAPI. I have given below the code.
               Dim oAtt As SAPbobsCOM.Attachments2 = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oAttachments2)
                Dim FileName As String = ""
                Dim SourceFile As String = ""
                Dim DestinationFile As String = ""
                For i As Integer = 0 To PurchaseOrderInfo.Attachments.Length - 1
                    FileName = PurchaseOrderInfo.Attachments(i).FileName
                    SourceFile = PurchaseOrderInfo.Attachments(i).SourcePath & "\" & FileName
                    DestinationFile = PurchaseOrderInfo.Attachments(i).TargetPath & "\" & FileName
                    If i > 0 Then oAtt.Lines.Add()
                    oAtt.Lines.SetCurrentLine(i)
                    oAtt.Lines.FileName = System.IO.Path.GetFileNameWithoutExtension(FileName)
                    oAtt.Lines.FileExtension = Replace(System.IO.Path.GetExtension(FileName), ".", "")
                    oAtt.Lines.SourcePath = PurchaseOrderInfo.Attachments(i).SourcePath
                    If System.IO.File.Exists(DestinationFile) Then
                        System.IO.File.Delete(DestinationFile)
                    End If
                    If PurchaseOrderInfo.Attachments(i).Override = True Then
                        oAtt.Lines.Override = SAPbobsCOM.BoYesNoEnum.tYES
                    Else
                        oAtt.Lines.Override = SAPbobsCOM.BoYesNoEnum.tNO
                    End If
                Next
                Dim iAttEntry As Integer = -1
                Dim lResult As Long
                Dim lErrCode As Long, sErrMsg As String = ""
                lResult = oAtt.Add()
             It works fine. But, I am not  able to remove an attachment via diapi.
             Could you please help me how to solve this.
    Thanks in advance.
    Manikandan

    I am pretty sure you are looking for SAP Business One SDK Topic Space. To ensure you are posting in the correct SCN Space, always check the description for the Space under the Overview tab.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada

  • Word and PDF Attachments Won't Open in Mail

    I bought my iPad2 in September 2011. have upgraded it to iOS5. I cannot open any PDF, .doc or .docx document. I have tried opening the PDFs in Adobe Reader and the Word documents in Pages or Dropbox but they won't open. All my apps are up to date.
    What seems to be happening is that Mail is having difficulty downloading the attachment. I had a 4MB PDF attachment and when I tapped on the icon it began to download, which took several minutes. I saw the byte size change from 0 to 4MB. Then I tapped on it again to open the file but the byte size dropped immediately to 0 again and the file won't open. I tried opening in Adobe Reader but got the error "The document is empty (size 0KB)" . I have gone through several cycles of downloading the file and seining the seesaw from 0 to 4MB and back again. Just won't open the file.
    Same problem when I tried opening Word documents in Pages or Dropbox. Also, I reproduced this issue with my colleague's iPad (version 1, iOS4, Pages).
    Just to ascertain there's nothing wrong with the file attachments, I downloaded the same PDF in Outlook, placed it in my Dropbox, and opened it in the iPad without any problem.
    Anyone else having this issue?

    Have you tried pressing the attachment to get the "open in" message and open in VLC, iBooks, or other apps?

  • Corrupted attachments in Mail.app connecting to an IMAP server

    Hi,
    I'm using Mail.app to connect to our local IMAP server (over SSL). For a long while, I've had problems with large attachments being corrupted when I open a message in Mail. If I view the same message in our webmail client (which also talks to the IMAP server), the attachments are uncorrupted.
    If I save a message as source and decode using a mime64 decoding tool, the attachments are corrupted in the same way as from within mail. This is most clearly visible when the attachment is a large jpeg.
    If I remove the locally cached messages by deleting the /Library/Mail/IMAP-xxxxx folder, then re-download all the messages, the attachments will be often corrupted in a different position in the image.
    Using another IMAP mail client (Thunderbird) on the same machine to connect to the same IMAP server shows no corruption in the same messages which are corrupted in Mail.app.
    I can't say whether this problem was introduced with Tiger, but it has persisted for a long time. This problem is only for INCOMING attachments; I have had no problems with corruption in the attachments I send to others.
    Other Tiger Mail.app users in the building have the same issue. Any suggestions to identify and fix this problem will be greatly appreciated. It's possible it's bug in Mail, and I would be happy to contribute any information or perform any testing required to fix it.
    Using:
    Mail.app v2.1 (752/752.2)
    Thunderbird v1.5.0.7 (20060909)
    Mac OS X 10.4.8 Build 8L127
    1 Ghz Powerbook G4 with 1.25 GB RAM
    Best regards,
    Dylan
    Powerbook G4 Mac OS X (10.4.8)
    Powerbook G4   Mac OS X (10.4.8)  

    The right way of doing that would be rebuilding the
    mailbox, i.e. select it and do Mailbox >
    Rebuild. Does that make a difference?
    Rebuilding the mailbox — no difference. The attachments are corrupted at a different position in the image, but still corrupted.
    Another thing to try would be trashing the Mail
    cache, i.e., quit Mail, in the Finder go to
    Trashing the Mail Cache — no difference. The attachments are not re-downloaded from the server, and so the position of the corruption in the image doesn't change.
    What happens if you move or copy the message to a
    local "On My Mac" mailbox, and open the local copy
    instead?
    The local copy then has corrupted attachments.
    /Library/StartupItems/
    Empty.
    /Library/InputManagers/
    SIMBL
    ~/Library/InputManagers/
    Empty.
    /Library/Mail/Bundles/
    Empty.
    ~/Library/Mail/Bundles/
    GPGMail
    Mail.appetizer
    A quick test — disabling these plug-in components has no effect on the corrupted messages, even after re-building the mailbox in question.
    I should point out again that it's not just my machine that's affected by this problem. I verified today that other users of the same server are also affected. This isn't likely to be caused by a quirky configuration on my machine.
    Also, open System Preferences, and go to
    Accounts > Login Items. What do you see
    there?
    LittleSnitchDaemon
    iCalAlarmScheduler
    iCal
    Mail
    SmartReporter
    LiteSwitchX
    MicrosoftMouseHelper
    MouseLocatorAgent
    Skype
    Last.fm
    Renicer
    The items below the line have been added recently, and the problem was definitely there before hand.
    Dylan.
    Powerbook G4   Mac OS X (10.4.8)  

  • Using decode in count

    hi everyone,
    Please help me in writing query with decode to count something like following:
    select md_date, count(*) all_qty, count(decode,'A',*) A_QTY FROM ABC WHERE MD_DATE BETWEEN :START_DATE AND :END_DATE GROUP BY MD_DATE
    tHANKS AND REGARDS,
    aHON

    there is a separate section for SQL and PL/SQL related questions
    any ways next time keep this in mind
    your query has wrong decode clause
    this might works for you
    SELECT md_date,
      SUM(all_qty) all_qty,
      SUM(a_qty) a_qty
    FROM
      (SELECT md_date,
        1 all_qty,
        DECODE(mycolumn,'A',1,0) a_qty
      FROM abc
      WHERE md_date BETWEEN :start_date AND :end_date
    GROUP BY md_date

Maybe you are looking for