I want to get the information of the attachment without get the whole body

POP3 server:
MimeMultipart mp=(MimeMultipart) message[0].getContent();
int count=mp.getCount();
//the server deliver the whole attachment when I use mp.getCount
Part part=mp.getBodyPart(0);
//when I use getBodyPart the server deliver the whole body too
I just want to get the information of the BodyPart,just like filename.
Some say FetchProfile can do it.But I try it failed.
How could I do this? Thank you!

Using POP3, you can't. It's a limitation of the protocol.

Similar Messages

  • Want to print the whole month with or without overtime for each employee

    Hi,
    I have Oracle forms/reports10g R2, Below query returns employee overtime correctly but I want to add the whole month with it in simple words if one employee have overtime for five days in a month I want the query to return the whole month including five overtime days for each employee and let say if we have ten employees query return whole month for each employee either he have or overtime or not how can I implement this in report it becomes agony for me, anyone please suggest a solution.
    Thanks and regards, Khawar.
    ---Query---
    select o.ot_date , o.start_dt_time as start_time, o.end_dt_time as end_time, o.ot_details, et.holiday, et.staff_id, e.staff_name, e.desig
    from overtime o, emp_ot et, employee e
    where o.complain_no = et.complain_no
    and o.inc_type_code = et.inc_type_code
    and et.staff_id = e.staff_id
    order by 1, 2, 3, e.staff_id

    Hi Michael,
    Thanks for reply, I think I didn't explain as I should, I want to print Overtime report for each employee let say employee A123 did overtime for five days in DEC than what I want is to print report for employee A123 for the whole month means when I print report blank cell should come where A123 don't have data (I mean other 25/26 days).
    The structure of tables are as
    SQL> desc overtime
    Name Null? Type
    COMPLAIN_NO NOT NULL NUMBER(5)
    OT_DATE NOT NULL DATE
    START_DT_TIME NOT NULL DATE
    INC_REF_NO NUMBER(5)
    END_DT_TIME NOT NULL DATE
    INC_TYPE_CODE NOT NULL VARCHAR2(10)
    DISTRICT_CODE VARCHAR2(6)
    BUSBAR_VOL VARCHAR2(5)
    OT_DETAILS VARCHAR2(2000)
    SQL> desc EMP_OT
    Name Null? Type
    STAFF_ID NOT NULL VARCHAR2(8)
    COMPLAIN_NO NOT NULL NUMBER(5)
    INC_TYPE_CODE NOT NULL VARCHAR2(10)
    HOLIDAY NUMBER
    Each employee associated with primary key i.e COMPLAIN_NO and INC_TYPE_CODE
    in each OVERTIME table record we may have more than one employee in EMP_OT table.
    above detail may clear my query.
    Thanks and Regards,
    Khawar.

  • Using 10.6 iweb 3.04 . I make a small change on a page  , then choose publish changes , but seems to take hours and seems to want to publish the whole site , not just a small change?

    Using 10.6 iweb 3.04 . I make a small change on a page  , then choose publish changes , but seems to take hours and seems to want to publish the whole site , not just a small change?

    Doing the following wouldn't hurt either:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.

  • I have an existing Ibook that I created.  I wanted to copy the whole book and rename it.  Then modify several pages.  Is that possible?

    I have an existing Ibook that I created.  I wanted to copy the whole book and rename it.  Then modify several pages.  Is that possible?

    Sure. Right click on the book in the left hand pane and choose 'Duplicate'. Then work on the duplicate.

  • How do I download only selected audiobooks from iTunes to my iPod.? I don't want to download the whole library..i have an iPod classic and Mac laptop with the latest ios.

    How do I download only selected audiobooks from iTunes to my iPod.? I don't want to download the whole library..i have an iPod classic and Mac laptop with the latest ios.

    If you check songs, simply sync the entire library.
    But I highly recommend (and it is far simpler) to create a playlist (or multiple playlists) and select only that playlist to sync.
    Leave everything checked.
    Then simply add/remove from these playlists and sync away.

  • I just uploaded my iTunes library to the cloud using iTunes Match. When I buy a new song from iTunes, is it automatically put in the Cloud or do I have to push iTunes Match. I certainly don't want to upload the whole library again. Thanks

    I just uploaded my iTunes library to the cloud using iTunes Match. When I buy a new song from iTunes, is it automatically sent to the Cloud or do I have to click on iTunes Match? I certainly don't want to start the whole upload process over again. Thanks

    It should do so automatically, if not check it's staus this way.
    In iTunes press "Command J" or select "View Options," under the view menu. In the popup window check iCloud Status. It will now appear as one of the columns in your main iTunes window.
    This column will show which of your songs are matched, uploaded, ineligible, etc.
    When you navigate to the song you downloaded you will see it's iCloud status.
    If the status says, "waiting," and you want it available on Match now, then in the iTunes "Store," menubar pulldown, select "Update iTunes Match."
    It will scan your drive, and update all status'.
    You will not have to upload everything again.
    Even if in iTunes you turn Match off, and back on again.
    Match remembers you!

  • When I click an app it goes right back to home screen. Is that normal or do you think I sould take it in I don't want to reset the whole thing

    When I click an app it goes right back to home screen. Is that normal or do I need take it in I don't want to reset the whole thing. Please someone help me thank you izzy13

    Do a soft reset it wont delete anything .
    Home screen and power button until apple logo appears.

  • Is there a way to set the printed margins to zero. I want to fill the whole page, as much as the printer allows.

    Normally Firefox prints Title, URL, time and page number on the four corners of the printed page. I want to remove printing of this
    information and instead print the page out to the corners limited by
    what the printer allows. I know how to stop printing the URL etc. but then I get empty margins. I want to set this margins to zero so Firefox prints on the whole paper sheet. As it is now I will have to use another browser that doesn't insert unwonted margins.

    Is there a way to set the FOLDERS window in Adobe Bridge as a Column view like in Mac OSX Finder?
    No, but it is very nice idea, add it to the feature request page:
    http://feedback.photoshop.com/photoshop_family/

  • I got some songs refunded but they are still on my phone after syncing my phone to my computer and i wanted to buy the whole album but i cant because it says i will have duplicates of some of the songs

    please help

    dudo670 wrote:
    I'm simply trying to get enough space to update my 5s because of the whole thing where you're phone needs room to install an update. I deleted over 100 songs off of my iPhone while in iTunes on my computer. I decided to sync to see if it would show up, but all that did was add the apps from other people's devices in my house. Then I disconnected and my phone froze. I plugged it back in, got the apple logo and it loaded again, but still it showed 825 songs on my iPhone while according to iTunes, I have 666 songs on my iPhone. What do I do?
    All I wanted was to update my iPhone but as usual, Apple makes things 10x more complicated than they need to be.
    Apple isn't making this 10x more complicated you are.
    If you deleted the music why are you syncing back apps from other user on your computer?
    Have you tried deleting the music directly from your phone and then update over the air?

  • Want to buy the whole original cover of ipod - pls help !

    I have iPod 60 GB, It's in White color. I want to change the color to Black.
    Can I buy the Front Black Original Cover for my iPod. Also, I want to buy the back metal cover as it has fallen and has bumps in it...
    Please let me know what can be done..Thanks!!
    Dell Optiplex   Windows XP  

    be careful with it
    and why do you want to change the colour
    personally i much prefer the white as it is the original i-pod colour
    out of intrest does anyone know why you can get black as well
    anyone know the reason they introduced it?
    just wondering
    ps there is a way of changing your ipod but it does void the warranty and can go wrong i suggest you dont my bro did it with his 4thgen but only when he had bought a 5thgen so if it broke he had the new one
    it turned out fine but does void the warranty and any dust that gets into the inside can be fatal
    ADVISE AGAINST IT
    cant you get a black case or something?
    like a protective sleeve of some kind
    i think ive seen rubber ones
    not quite the same thing but worth it

  • HT1212 I have a new computer and I forgot the passcode to my iPod and I want to reset the whole thing how can i do that with a new computer?

    Someone please help!!
    I had an old crap laptop that wasn't apple and I used that for the past 2 years to sync my iPod but I have got rid of that and now I have an iMac. I have forgotton the 4 number digit passcode to my ipod and I have tried about 25 different combinations and I still cant get it right, so I just came to the conclusion that I have to reset the whole thing. I couldn't do it on my old laptop because it would keep running out of memory and I cant get it to connect to my new pc.
    Can someone please guide me through on how to connect it up to something to reset it. Thanks

    Read the article you linked

  • Mail - I don´t want to download the whole history from Hotmail into my Mac

    Hello,
    I don´t know how to just use the Mail in my MacBookPro just as I do in my iphone. I have a Hotmail account with many e-mails that I keep. And I want them to stay there in the Hotmail server only. I don´t want to download them all into my Mac, for what?? But I would still like to use Mail for reading (specially new) Hotmail mails, and to send some when I use my Mac.
    Thanks to anyone that could help on this!
    Regards

    Do you have Internet Security Software turned on in your Internet Explorer?
    I turned mine off, as I have Norton AV. Go into Internet Explorer and check to see if you have that on and try turning that off...and then try to get back onto FF. You may have to restart your computer, I'm not sure, as I'm not a techie. I just know that the Internet Security Software clashed with my Norton AV.
    Good luck!!!
    Donna
    PS Go with the user's suggestion above me, sounds the right way to go...thank God for the techies, eh? :)

  • I want to use the whole iMac screen--How?

    Suddenly the edges became black with enlarged fonts in a smaller square or rectangular view.  I went to systems and played with the various resolutions but only the stretch resolutions fill the screen and then with some distortion that was not there previously.  ?????

    Thanks to both suggestions.  Both worked:
    1. The resolution default at the top of the list is the default and that restored the width of active use to the borders of the screen.  Previously the R and L active edges of the screen shrunk an inch on either side and left black, inactive pixels.
    2. Control Zoom works within the active borders as described, but it did not restore the full width.
    Many thanks. 

  • Is there any way that I can restart a MacBook Pro? I bought it on craiglist and want to restart the whole computer and have it loaded in my name if possible. Please help me out thanks!

    I just recently bought a macbook prop on craiglist and want to reboot it in my name.
    Is there any way of doing this, and also do I need a disc? is there any way I can do it without a disc?
    PLease help and thank you.

    Kotaks wrote:
    Hey mastel2,
    Shut off your computer. Then power it on holding Command + R. Select English as your language then click "erase and reinstall".
    -Kotaks
    There is no 'Erase and Install' command on a Mac with a Recovery Partition (Command+R), please check your research again.

  • I want to convison the mail body 's Content-Transfer-Encoding to base64

    Return-Path: <[email protected]>
    Received: from tobacco ([130.130.160.76]) by webapp.tobacco
    (Netscape Messaging Server 3.6) with ESMTP id AAA70AC;
    Tue, 6 Nov 2001 18:26:28 +0800
    type: ���� intra@ius_center 1670
    subject: ������gggggg��
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    Date: Tue, 6 Nov 2001 18:26:28 +0800
    Message-ID: <[email protected]>
    From: [email protected]
    <center><h1>����</h1><TABLE BORDER=1 CELLPADDING=5 width=90%%>
    <TR><TD BGCOLOR=#CCCC99 width=74 valign=top><STRONG>��������</STRONG></TD><TD BGCOLOR=#EEEEEE>gggggg</TD> </tr>
    <TR><TD BGCOLOR=CCCC99 VALIGN=TOP><STRONG>�� �� ��</STRONG></TD><TD BGCOLOR=#EEEEEE>������ ������������������</td></tr>
    <tr><TD BGCOLOR=#CCCC99 VALIGN=TOP><STRONG>�� �� ��</STRONG></TD><TD BGCOLOR=#EEEEEE >������ ������������������</td></tr>
    <tr><TD BGCOLOR=#CCCC99 VALIGN=TOP><STRONG>��������</STRONG></TD><TD BGCOLOR=#EEEEEE >fdsf</td></tr></TABLE>

    Me too. I want to find out what encoding a particular $INPUT_FILE part is when I need to parse it in my conversions script.

Maybe you are looking for

  • How to blend colours in 2 layers?

    Hi, I am new to Photoshop and my question may be basic but I couldn't figure it out myself. I have an image with perfectly deep-blue sky and I want to paste on it a pine tree from another image with a pale sky around and between the branches. When I

  • One Table more than one Relationship to same Table

    Hello, I have the following scenario. One Table called Hotel and one Table Called Competitor. Each hotel can have several competitors. So i structured the tables in my Azure SQL database like this: Hotel: HotelID (int, Primary Key) Name (String) etc.

  • I have got a TROJAN from your webbside when I uppgrade. File name W97M/Downloader.afp!!  What to do?????

    I have got a TROJAN from your webbside when I uppgrade. File name W97M/Downloader.afp!!  What to do?????

  • Can't start in Classic

    For a long time, I was happily able to switch back and forth to Classic after I upgraded to OS X, but then all of a sudden, Classic doesn't start. Let me give you the scenario right before my Classic problem.... I was working on a file using Quark 4.

  • Clips Don't Start at 00:00:00:00 in Source Panel

    When I bring most of my clips into the source panel, the timer starts at 00:00:00:00.  But on some of the clips, the timer starts at a value like 00:05:24:12.  This is bothersome because I need for it to start at 00:00:00:00 because when reviewing th