Cannot delete files after emailing them

Ever since I upgraded to Snow Leopard I cannot empty the trash if there is a file that I have added as an attachment in an email if Mail is still open. It will say the file is in use and I either have to quit Mail or Secure Empty Trash. This is really annoying. Anyone know of a fix? The file shouldn't be in use once it is sent in Mail. This never happened in previous versions of OSX. Also, if I have sent a file as an attachment I cannot save over it in the originating program because it is in use.

No, this is only for Mail. As soon as I add a file as an attachment then I cannot delete it without quitting mail or secure empty the trash. It isn't a data loss deterrent because you get that message making sure you want to delete it but when I say yes then it says the file is in use.
By the way, I shut off Time Machine for a day and then tried to delete a new file that I created after Time Machine was shut off that I added as an attachment to Mail and the same problem occurs. All other files that I do not add as an attachment in Mail I can delete with no problems.

Similar Messages

  • Cannot delete file after calling JAI.create() method

    hi all
    this is the first time i write to this list
    today i began to use the JAI api on a project
    it works fine but i am not able to delete a file after using it
    my code:
    for(int i=2; i<2+filenames.size(); i++)           
                    try
                        String fName=filenames.get(i-2).toString();                   
                        if(fName!=null)
                            File file=new File(uploadDir+"\\"+fName);
                            FileInputStream f=new FileInputStream(file);
                            ps.setBinaryStream(i, f,(int)file.length());
                            PlanarImage pi = JAI.create("fileload", uploadDir+"\\"+fName);
                            System.out.println ("heigh : "+pi.getHeight());
                            System.out.println ("width : "+pi.getWidth());
                            f.close();
                    catch(NullPointerException n)
                        n.printStackTrace();
                        return;
    for(int i=0; i<filenames.size(); i++)
                    String fName=filenames.get(i).toString();  
                    File file=new File(uploadDir+"\\"+fName);
                    if(file.delete())
                        System.out.println(fName+" deleted");
                    else
                        System.out.println(fName+" not deleted");                   
                               }i use this code in a servlet that receives an image to put it in a database.
    JAI is useful to get heigth and width of it.
    the problem is that i always get the "not deleted" message.
    i'm quite sure that is a problem of the bold code (JAI code), also because, cutting it, i can delete my file
    anyone could help me?
    thanx a lot in advance
    alessandro

    excuse me another time!
    my first post was right.
    i'm not able to delete an image after creating it with JAI.create();
    i'm still lookin' for a way to close all the references to my image in order to delete it
    how?
    thanx a lot
    sandro

  • Should I delete files after moving them to a shared folder

    I just transfered files from the hard drive to a shared folder so that both users on the computer could have access to the files.  I was wondering if I should delete them from the hard drive and leave them only in the shared folder since it is about 100GB of stuff?
    Thanks

    I just transfered files from the hard drive to a shared folder so that both users on the computer could have access to the files. I was wondering if I should delete them from the hard drive and leave them only in the shared folder ...
    if you just dragged & dropped them in the finder, the files will have been moved, not copied, to the shared folder. there shouldn't be any originals in the original location.

  • I have to zip pdf files to email them to someone with a PC. The problem is they aren't smaller after zipping and I can't email them. I tried adjusting the Quartz filter to the Reduce file size. Now they're smaller, but the recipient can't read them. Help!

    I need to zip pdf files to email them to a PC user. The problem is file size is not reduced.
    I tried zipping them in Win 7 (which I use via Parallels 7) and sending them to the Finder to email.
    But lately nothing is reduced.  I tried choosing the Reduce File Size option in the Quartz Filter when I save the doc. The file size was reduced. However, the recipient could not read the file. Everything was blurry.
    Is there a solution?

    I am having some PDF sizing issues also, I am a BETA tester for TurboCAD Mac, and with the usage of (public) version 5, I have had some scaling issues. I have had (auto sent) 15 plus crash reports, (available as text) and had posted my scenario within the "lion- problems so far" article, so not to use up extra bandwith- or whatever- there are pictures there. I was not able to upload a PDF on site, and the staff @ Turbo CAd is working on it also. this is Lion specific new update, as I have posted many large format PDF's
    Here (edit to add url)
    Thanks for the helps!
    Johnny

  • Failed to delete file after processing FTP

    Failed to delete file after processing. The FTP server returned the following error message: 'com.sap.ai i.adapter.file.ftp.FTPEx: 550 Unexpected reply code *.txt: The process cannot access the file because it is being used by another process. '. For details, contact your FTP server vendor.
    I got this error many times for the same interface. Not sure what is the reason for this.
    Searched on internet go comments that this is because of FTP version!
    Please help

    It is the "Msecs to Wait Before Modification Check" in the Sender Adapter that ensures this. It works like this: PI starts processing, finds a file, then waits the number of miliseconds specified and checks the file again to see if it has changed over the waiting period. If so, then it waits again to make sure the file is written completely. Only if no changes took place over the waiting period, it starts processing the file.
    And the fact that your file was successfully processed at retry only confirms that it might have been still written to by the sender system. You can try comparing file's creation timestamp (in OS level) with its processing start time in PI - this could prove me right.
    Edited by: Grzegorz Glowacki on Jan 13, 2012 2:15 PM

  • Cannot delete file Windows2Local/Components/{multiple}.settings

    Every time I shutdown JSE it shows a couple of ugly messages saying:
    "Cannot delete file Windows2Local/Components/classes.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/sources.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/watches.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/properties.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/designpattern.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/threads.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    Assuming that JSE had some problems to access my profile (oh, how I *hate* Windows...) I wanted to change the JSE working directory to C:\Projects\Java Studio Enterprise, but I can't find the place within the Tools|Options where I can set that. Help!
    Regards,
    Joost

    Thanks for the reply. I added the -userdir option, and now it complains:
    "Cannot delete file Windows2Local/Components/ComponentPalette.settings" in C:\Projects\Java Studio Enterprise\config"
    "Cannot delete file Windows2Local/Components/CollaborationExplorer.settings" in C:\Projects\Java Studio Enterprise\config"
    Hmmm, it seems to me that - although the number of error messages has been reduced - JSE is still not very happy about something. It would be nice if it was a bit more precise in its problem description.
    Regards,
    Joost

  • Cannot delete files from my ipod shuffle!!!

    I am new to using an ipod and i cannot delete files from my ipod, on itunes, it only shows the license agreement where the ipod files are supposed to be and no matter how many times i uninstall and reinstall itunes and agree to the license agreement i can't access anything else. can anyone help me at all i feel like a complete idiot!

    Pressing return will get past this screen as there is a button at the bottom right of iTunes which you likely cannot see.
    Set your screen resolution to at least 1024x768 to see this button.

  • ERROR MESSAGE AMT : CANNOT DELETE TOKEN AFTER IT WAS ASSIGNED TO A ROLE

    We are working on the setup in our sandbox environment and we have noticed that we are unable to delete tokens and remove the protection on BO's.
    the following message appears : "CANNOT DELETE TOKEN AFTER IT WAS ASSIGNED TO A ROLE"
    There is no Token assigned to any role anymore and we have also removed all rules and so on, Still it remains impossioble to remove the token on a protected BO or to remove the protection of a BO.
    Thanks for your help

    Hi Wim,
    Ive replied to your support message, requesting a remote connection so I can
    investigate further.
    Regards,
    Gervase

  • HT1151 Cannot retrieve file after I forgot to properly eject the USB it was on--what can I do to get this file to open?

    Cannot retrieve file after I forgot to properly eject the USB it was on--what can I do to get this file to open?  Thanks for helping me out b/c it would take days to re-create this file!  IMAC 10.5.8 Excel File using .xls extension.

    Hi Sue,
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at the top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Try a Repair on the External USB Drive.
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • Yahoo! Cannot add files to email.

    Yahoo!
    Ever since I downloaded Safari 5, I cannot add files to emails (esp photos). Safari would freeze up, and I would have to power down and reboot in order to surf. Any solutions to this matter other than switching to gmail?

    HI,
    BrowserPlus is causing problems when attaching files to Yahoo mail:
    Go here for uninstall instructions.
    http://help.yahoo.com/l/us/yahoo/browserplus/uninstall.html
    Carolyn

  • I CANNOT ADD FILES TO EMAIL IN FIREFOX BUT I HAVE NO PROBLEMS WITH WINDOWS INTERNET EXPLORER. wHY?

    I CANNOT ADD FILES TO EMAIL IN FIREFOX BUT I HAVE NO PROBLEMS WHEN USING WINDOWS INTERNET EXPLORER

    Perform the suggestions mentioned in the following articles:
    * Make sure that you are using the '''"Remember History"''' setting as described in this article -> [[Settings for privacy, browsing history and do-not-track]]
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache Clear Cookies & Cache]
    * [[How to clear the cache#w_clear-the-cache|Clear the Network Cache]]
    Check and tell if its working.

  • Cannot attach files to email. get message "An internal error occurred when attempting to attach... " when do retry and "switch" can attach the file. What is the problem? Files attach ok with IE.

    Cannot attach files to email. get message "An internal error occurred when attempting to attach... " Have tried attaching docs and jpg. Same result , files don't attach. When click on try again and then "switch" the file does attach.

    Cannot attach files to email. get message "An internal error occurred when attempting to attach... " Have tried attaching docs and jpg. Same result , files don't attach. When click on try again and then "switch" the file does attach.

  • Admin suddenly cannot delete files without entering password?

    Admin (and sole user) suddenly cannot delete files without entering password?

    Admin (and sole user) suddenly cannot delete files without entering password?

  • My iPhone 6  is deleting contacts after sending them a message on iMessage, using iOS 8.1.2

    Hi All,
    My iPhone 6+ is deleting contacts after sending them a message on iMessage, using iOS 8.1.2.
    Is anyone else having this problem? Does anyone have a fix?
    It was not doing this until today.
    Cheers Nic

    Hi Virkit,
    Welcome to the Support Communities!  It sounds like you have already tried some of the troubleshooting steps below.  If your Touch ID is not able to enroll any of your fingers, it may need to be serviced.
    Use Touch ID on iPhone and iPad - Apple Support
    http://support.apple.com/en-is/HT5883
    Get help with Touch ID
    Make sure that you're using the latest version of iOS.
    Make sure that your fingers and the Home button are clean and dry.*
    Cover the Home button completely. Don't tap too quickly, don't press down hard, and don't move your finger while Touch ID is scanning. Make sure that your finger touches the metal ring around the Home button.
    If you're using a case or screen protector, make sure it doesn't cover the Home button or the surrounding ring. If it does, remove the case or screen protector and try again.
    Tap Settings > Touch ID & Passcode and make sure that iPhone Unlock or iTunes & App Store is on. Also make sure that you've enrolled one or more fingerprints.
    Try enrolling a different finger.
    If you can't enroll any of your fingers, take your device to an Apple Retail Store, Apple Authorized Service Provider, or contact AppleCare for help.
    * Moisture, lotions, sweat, oils, cuts, or dry skin might affect fingerprint recognition. Certain activities can also temporarily affect fingerprint recognition, including exercising, showering, swimming, cooking, or other conditions or changes that affect your fingerprint.
    Last Modified: Oct 21, 2014
    I hope this information helps ....
    - Judy

  • Cannot delete file from disk after emailling that file like attachment

    After i send some file from disk in Mail like attachment i cannot delete that file from disk unless i quit Mail. Like Mail is still using a file. Of course, that mail is in Sent mail, not in outbox.

    This deeper than that. I created another account on the same iMac and it works in Harmony with my other devices and Documents in the cloud. I can only imagine the icloud account is somehow corrupted (I am on my macbook not iMac at the moment). There have been no updates to the Calendar, Contacts or Documents since early January on that account. I have spent 1hr on the phone with support and they were baffled as well. Only thing I can gove as insight to the problem is this, I was on the Mac Mini which was backed up on Time Machine. about 4 or 5 months ago I had to completley restore the Mac Mini becasue of the never ending circle on the load screen. The Backup failed to work it kept loading the issue and 4 or 5 times the circle of death kept coming up I would subsequently wipe the Mini and go further back in the back up until I go a copy that worked.  I then loaded the Time Mache back up into my NEW iMac and wnet from there. It took about a month for this problem I am detailing above to start happening. It maybe a corrupt file loaded from the backup into the new iMac causing this problem. Best answer I can think of on my own???

Maybe you are looking for

  • Custom Logon Page Error

    I created a custom logon page and its not working. I'm pretty sure that it has to do with the authscheme.xml file. Can someone post the authscheme.xml file they used for their custom logon page, or tell me what is wrong with mine. I posted it below a

  • Image Maps that link to Images

    Hi all, All of my experience so far is in the Microsoft HTML Help, but I have just started a new project where I think the best solution for what is required will be WebHelp. I have made a bit of a start, but I have come across the following problem

  • Older version files, can't open

    I created interactive vidoes with Micromedia Director, 2007. The new Adobe director no longer recognizes/accepts these files. When looking for older versions to download, my Mac's most recent operating system will no longer support the files either.

  • Exit Code 39 for CS6 on Mac

    How do I work around the following: Exit Code: 39 Please see specific errors below for troubleshooting. For example, ERROR: DW042 ... -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 2 error(s)

  • Formatted Search on TaxCode Ship To addess

    Hi Experts, I have a Customer who wants a Formatted Search Linked to the Ship To address. This Formatted Search must populate TaxCode 'TST' when the State in the 'Ship To' address are Texas. When it is anything other than Texas, it must populate 'EX'