Can I get the Trash and Send folder in IMAP

Hi,
I work now for a mail aplication using IMAP. I connect to Microsoft Exchange Server and my question is if there is a posibility to find which folder is the TRASH and which one is the SEND folder. The idea is that I can not use the name because I don't know which IMAP server the users will use (I mean the server can be in different languages and then the folders will have different names).
Thanks in advance,
Catalin Tileaga

One thing you can consider if you're using Exchange 2000 is to use the WebDAV protocol for accessing the server. If you're using Exchange 5.5 you might consider using CDO. Both protocols would allow you to get the real name of the Trash and Sent folders programmatically so that you don't have to rely on a hardcoded name. See the link below for more information...
Skip O'Grudnick
http://www.compoze.com/

Similar Messages

  • How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?

    How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?  I would like them to open at the size they were previously resized like they used to in previous operating systems.  They currently open at a very small size and the first colum is only a few letters wide necessitating a resize practically every time one wants to use it.  Any help would be appreciated.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • How can i get the itunes and apps store icon on my ipad desktop?

    How can i get the itunes and apps store icon on my ipad desktop?

    Google are supposed to be working on an iPad maps app.

  • How can i get the path to config folder placed inside the jar file?

    Hi i have developed an RCP application using eclipse.
    In my application config directory is there.
    When i export my RCP application as JNLP Project the jar file is created which contains config folder inside it.
    When i download the application using java web start , how can i get the path to config folder placed inside the jar file?
    Will the config folder exists in local cache in my system?
    Help needed.
    -Deepak

    -- This works in CS6:
    tell application "Adobe InDesign CS6"
      set myDocument to active document
      set selectedRectangles to selection of myDocument
      set theGraphicsLink to file path of item link of (graphic 1 of (item 1 of selectedRectangles))
    --> "Macintosh HD:folder/folder/filename.tif"
    end tell

  • HT1526 I can't empty the trash and it says error code -8003. What can I do to fix this? I need to empty as my hardrive is nearly full.

    Hey,
    I keep trying to empty the trash on my macbook pro as it says i have just under 2gb of harddrive space left. I can't update my software as i don't have enough harddrive space left.
    Every time i try and empty the trash it says that it can't empty the trash and gives an error code -8003.
    Any ideas how i can fix this?
    Many Thanks,
    Charlie

    Can't empty trash:
    http://support.apple.com/kb/HT1526?viewlocale=en_US
    How to Force Empty the Trash:
    http://www.thexlab.com/faqs/trash.html#Anchor-Force-11481

  • I plugged my Iphone into the computer to put my pics on the computer.  It went strait to itunes an erased all my contacts and pictures and replaced them with my husbands contacts and photos.  Can i get the contacts and photos back?

    I plugged my Iphone into the computer to put my pics on the computer.  It went strait to itunes an erased all my contacts and pictures and replaced them with my husbands contacts and photos.  Can i get the contacts and photos back?

    Have you synced your iPhone with iTunes on this computer before? If not, nothing is selected automatically under the various tabs for your iPhone sync preferences with iTunes.
    Was this the first time your iPhone was connected to iTunes on any computer? If so, the first time an iPhone is connected to iTunes for the first time that is used to sync with another iPhone or iOS device, you are prompted to transfer the backup for the other iPhone or eyeless device to the iPhone or set up the iPhone as a new iPhone. This is not automatic, it must be manually selected.

  • How can i get the time and result together show in one Array or in Cluster?

    hello everyone i am a new user .I want to get the time and voltge form a Generater. How can i get the time and result together show in one Array or in Cluster?When i selecte the first(or third...) result then in the front panel display the time and the voltge.Thank you!
    I post the time and voltge NOT together photo
    Attachments:
    12345.GIF ‏54 KB

    You can create an array of clusters with one element being the time and the other being the voltage, like so (using the "Get Waveform Components" function):
    Message Edited by smercurio_fc on 10-17-2007 03:15 PM
    Attachments:
    pic.PNG ‏11 KB

  • How can I get the date and time and display it on the report main page?

    Gurus,
    How can I get the date and time and display it on the report main page?
    Thanks!

    Hello,
    You can create a Formula Colum returning a date :
    function CF_1Formula return Date is
    begin
    RETURN(SYSDATE);
    end;
    Put a Field in the Layout having this formula column as source .
    Regards

  • I lost all of my artist names and album names for my iTunes library. They are all now on one album. How can I get the album and artist names back?

    I lost all of my artist names and album names for my iTunes library. They are all now on one album. How can I get the album and artist names back?

    I have a script called ExportImport for this task, but it only runs in Windows.
    In principle something similar should be possible in AppleScript, but I don't currently have access to a Mac to write it myself.
    tt2

  • An app was purchased on my ipad by accident, can I get the charge and app removed?

    An app was purchased on my ipad by accident, can I get the charges and app removed?

    Hi,
    Sorry to say, all sales are final.
    iTunes Store: All Sales Are Final
    "You cannot cancel a purchase or receive a refund for a purchase. See the iTunes Terms of Sale for additional information."
    Carolyn

  • How can I get the peak and valley of a MZI signal

    I am using MZI signal which is similar to sine wave with frequency of 10MHz to calibrate an interference signal. I want to get the peak and valley of the MZI signal and get the corresponding value of interference signal at the same location. The problem is that the MZI signal aquired by DAQ is not smooth, Please see attached filter.PNG, the top left is the MZI, top right is the MZI Zoomed in, you can see that there may be two values that are approximately same to each other. I used a peak detector to detect both the peak and valley and a build array to concatenate them. I am worried that the peak detector may find two peaks or two valleys in a fringe. So I used the filter function in express to bandpass the MZI signal (cutoff frequency is 8MHZ~12MHZ) to smooth the signal, the result zoomed in is  the bottom graph in filter.PNG. But I found that it did not solve the problem but cause phase shift. Is there somebody can give some help?
    Attachments:
    filter.PNG ‏143 KB
    peak detector.PNG ‏69 KB

    I don't know anything about MZI signals, but I do know sine waves.  If this is a sine wave, it is relatively easy to measure its amplitude as long as you know the frequency.  Since you say it is 10 MHz, you appear to know the frequency.  You can use Fourier analysis to determine the magnitude and phase of your signal, as long is it is a steady signal that doesn't change frequency or amplitude.
    Generate a sine and cosine wave using the same frequency.  Divide each wave by the sum of its points.  Multiply each one by your incoming signal and sum all the values, one sum for sine and one sum for cosine.  The sums should be the coefficients of the sine and cosine components of your unknown signal.  The ratio tells you the phase of the signal.  If you multiply the sine and cosine waves by their coefficients and add them together, you should be very close to your incoming signal.  The amplitude of your signal is equal to square root of A*A+B*B, where A and B are your coefficients.
    I may be off by a constant factor here somewhere (probably pi), since I didn't write down the equations and verify them.  These equations are the basis of the Fourier series, though, so they would be fairly easy to find.
    Another option would be resampling.  If you upsampled the data and increased the data resolution by a factor of 10 or so and filtered the results using an FIR filter, you would have a much cleaner signal with a lot more detail.  You wouldn't have any problem locating and measuring peaks and valleys.  This would probably work better with your data, since it looks like it doesn't have a constant magnitude.  To upsample the data, just add 9 zeroes between each data point.  Create a lowpass FIR filter that is based on 10 times the original sampling frequency and has an amplitude of 10.  The cutoff frequency should be half the original sampling rate.  Filter your new data and you should get the same waveform with 10 times the resolution.
    Bruce
    Message Edited by Bruce Ammons on 10-02-2008 09:10 PM
    Bruce Ammons
    Ammons Engineering

  • How can I get the X and Y coordinates of an object in Xcode, ApplescriptObjc?

    How can I get the value of a specified object's X and Y coordinates in Xcode, using ApplescriptObjc? I'm hoping for something like:
    myObject's currentPosition()
    // Which would return {150, 100} for the X and Y of that object.

    Actually this is straight from basic physics
    Assuming that the x and y values you get using that AppleScript/Objective-C code is accurate, to move the object you would do
    set x to x + dx * speed
    set y to y + dx * speed
    with dx and dy being an integer with a value of -1 or 1 which indicates the direction the object is moving. Remember the origin in OS X is the middle of the frame or screen with positive x and y values moving to the upper right quadrant, and negative x and y values moving to the lower left. Your basic Cartesian coordinate system. Speed is also an interger and models the speed of the object.
    Once you've set x and y to their new values you would write  them back to the object.
    This is so I can find how much distance (in pixels) is being travelled when I animate an object to move from one position to another, to apply it to my desired velocity (of pixels per second), to find out how long the object should take to move.
    This part has got me stumped.
    To make an object move you need to change its x and y coordinates. To get smooth animation you need to change them on a regular schedule at a rate fast enough to avoid jerky motion. Given the refresh rate of most monitors and other factors a rate of 60 times per second gives good results. Between each tick of the clock you change the x and y coordinates by some amount, the size of the amount will model speed. Add a small change and the object moves slowly, add a big amount and the object moves quickly. Keep the amount of change constant and the object will move at a constant speed. Increase (or decrease) the amount of change between each tick and the object will accelerate (or decelerate)

  • How can i get the driver and software for q1342a laser printer 1000

    How can i get a driver and software Cd for HP Laserjet 1000 S/N#CNBJ242828
    Product ID# Q1342A

    The product you have seems to be a commercial printer. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
    You may find the Commercial Laserjet board here.
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Hope this helps!
    Help the community by marking this post as a solution if it solved your issue!.
    If my post helped you in any way, please click the blue KUDOS star under my name! It would mean a great deal.

  • I found an old iPod classic of mine.  It's not synced to my new MacBook Pro.  How can I get the music and photos off of it and on to my new computer?  When I plug it in to my new computer it wants to erase what is on it and transfer from my new computer.

    I found an old iPod classic of mine that is synced to a computer that is long gone.  I want to get the music and photos from this old iPod onto my new computer.  Every time I hook the iPod up to my new computer it wants to delete what is on the iPod and replace with the contents of the iTunes that is currently on the new computer.  I don't want to do that.  I want to keep what is on the old iPod and transfer it to iTunes.  Any help?  Thanks!

    See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your PC and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    B-rock

  • How can I get the start and end of a date range?

    Post Author: RobR
    CA Forum: Formula
    Greetings!
    I have a report whose records are selected if a date field is within the date range returned by the LastFullWeek function.  I want the header for that report to print the first and last dates in that range.  I don't see a way to extract those dates from a date range.  How do I do it?
    Also, I think it would be nice to be able to walk through a date range using a for loop, something along the lines of the following:
    for (thisDate in LastFullWeed)(    do something;)
    but I didn't see syntax like that in the help system.  If I could do this, then I could get the first and last date.  Is this possible?
    Thank you!
    RobR

    Post Author: SKodidine
    CA Forum: Formula
    If all you want is the starting date and ending date of the function LastFullWeek, then all you have to do is this:
    minimum(LastFullWeek) & '          ' & maximum(LastFullWeek);
    On a side note, from your post: for (thisDate in LastFullWeed)  Whatcha smokin'  Willis?? 

Maybe you are looking for

  • In BAPI's why the structures are used in table parameters?

    Hello sir, what is BAPI sir? In BAPI's why the structures are used in table parameters?  table parameters they are using structures but not using any customized tables ?  regards rachu.

  • Using an existing PDF as a background

    I've got an existing PDF file I'd like to use as the background for my form. I've trying importing it into designer, but I'm missing some of the fonts and there are a lot of mistakes. I tried saving the PDF as graphics, then creating an image PDF fro

  • Creating a new table next to an existing one

    I have attached the table I created...(I'm a beginner....forgive me for being simplistic in design). I want to create a separate table for "Friday" right next to the existing table. How do i get the new table to align to the right of the existing tab

  • When converting certain Excel documents a user interaction is required to save the document.

    I am using a WebService to open an excel document and save it as PDF.  The webService will then return the PDF to my software.  The problem being that some Excel documents have formulas in them that automatically change the document when it is opened

  • RESTORE!?!?! concerning pages.

    i was writing up a study guide for school and decide to go on the internet just for a break and then my computer says it need to power off or restart. and i didn't save the study guide i was working on, (PAGES). is there no restore feature or last sa