Mail updating cache directory

I am trying to send file attached email from my App.the file saved into external storage(SDCard) can successfully attatched, but the same file that is saved into temporary directory where i can get get Cache Dir() method cannot be attached.

* Type about:config into the location bar and press enter * Accept the warning message that appears, you will be taken to a list of preferences * Right-click somewhere in the list and select "New String" * For the name of the preference type browser.parent_directory * For its value type the path to where you want to store the cache * Next locate the preference browser.enable, it must be set to true, if it is not, double-click on it to change its value For more information on this see [ this article] Hope that helped. By default, your cache is on a different path from your main settings folder. If the third query fails, errors are logged and the cache update is aborted until the next time.For about a year, I have noticed that Mail on two different Mac systems frequently hangs for long periods of time while appearing to be updating its cached copy of emails stored on the server. You will see that both of my Kerio hosted accounts are going through this process.Main settings folder is under: C:\Users\''username''\App Data\''' Roaming'''\Mozilla\Firefox\Profiles\ Cache folder is under: C:\Users\''username''\App Data\''' Local'''\Mozilla\Firefox\Profiles\ (The above assumes Windows Vista or later) Thanks alco. The old cache directory still exists and it is still very big. Hmmmm; I think I need to check if this is the directory that I keep my Fire Fox preferences in. I've set up a new clean profile and deleted the old information.