URGENT ! HELP ! Javamail - IMAP - reading mail not working

Hello,
I'd like to retrieve mail from a mailserver via imap.
I put the hostame, user, password and port 25.
I succed to contact the server but there is still a prob :
javax.mail.MessagingException: 220 vmmailsrv.test.be ESMTP server (post.office v2.0 0813 ID# 0-0U10) ready Tue, 23 Oct 2001 11:24:54 +0200;
nested exception is:
com.sun.mail.iap.ConnectionException: 220 vmmailsrv.test.be ESMTP server (post.office v2.0 0813 ID# 0-0U10) ready Tue, 23 Oct 2001 11:24:54 +0200
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
javax.mail.MessagingException(java.lang.String, java.lang.Exception)
boolean com.sun.mail.imap.IMAPStore.protocolConnect(java.lang.String, int, java.lang.String, java.lang.String)
void javax.mail.Service.connect(java.lang.String, int, java.lang.String, java.lang.String)
void Javamail.msgshow.main(java.lang.String [])
Has someone an idea what's wrong?
(I used the code found in Javamail samples readmsg)
Thanks in advance

The imap port is the port 143 and not the port 25, which is the port SMTP,
it is moreover what says your error : you tries to connect you on a server SMTP.
change the numero of port and it should work

Similar Messages

  • Urgent -Help needed : a4j:CommandLink  'reRender ' not working.

    Hi,
    I am using <a4j:commandLink for my application to get the ajax functinality.
    Here i am rerendering a data table with the id -commentsId
    here is the Synatax, we dont have any clue to how do we progress on this.
    <a4j:commandLink value="submit1" reRender="commentsId" >
    <a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender" />
    </a4j:commandLink>
    Please help me.
    Thanks in advance.
    -Arthi.

    I had this problem 1 year ago, when check the keyboard cable see that all was correct...then
    Buy a new one, and now the keyboard works; maybe anybody throw water in the keyboard; please check first with a usb keyboard.

  • In the new mail app for OSX v10.7 Lion it seems I can only setup my gmail account as an "imap", when I need to set it up as "pop"... PLZ HELP I NEED MY MAIL TO WORK!!!

    In the new mail app for OSX v10.7 Lion it seems I can only setup my gmail account as an "imap", when I need to set it up as "pop"... PLZ HELP I NEED MY MAIL TO WORK!!!

    Go to System prefs
    Select Mail Contacts and Calendars
    Then select Other
    Then select "Add a Mail Account and click create
    Then go to google for the settings you need:
    First here for the settings online at gmail http://tinyurl.com/du3fu
    Then here for the setting in mail http://tinyurl.com/38fevm8
    These are instructions for Mail 4.0 but all of the necessary settings should be listed.

  • CD/DVD reader is not working, please help.

    My cd/dvd reader is not working at all, when I put any cd or dvd on it, the led of the reader starts blinkin but then it stops and nothing happens. I'm using a hp pavilion dv7-1025nr, windows vista 64-bit. Maybe there are some drivers that i should download, in that case, can some one help me with link?, Thanks.

    When you access this page from the link, ensure that this is your machine by entering your Model # and then trying your Product # (both on the Service Tag on the bottom of your computer). This will confirm your Model#/Product# for future updates.
    HP Support & Drivers Page for Your Machine
    Sig: Pavilion Model Series# dv9500t (t=Intel)_CTO_Prod# RL653AV_Vista Ultimate (64-bit)_SP1_Intel 2 Duo CPU T7500_2 GB Ram_BIOS F.09_NVIDIA 8600M GS_200GB 7200RPM SATA Dual HD (100GBx2)_HP 300GB HD USB Kit for xb3000_8/2007

  • HELP!!! My Card reader is not working!

    My card reader is not working and this is extremely frustrating when trying to transfer data from one device to my my macbook pro.  Is there any one out there that can help me with this issue?

    Some people (me included) have found the problme to be a stuck contact inside the socket on the MacBook Pro.  The far left contact appears to get stuck in the "inserted" position (depressed) and fails to signal to the computer that a new card has been inserted.  This contact is partially hidded behind an alignment key molded into the socket.  One fix is to carefully (and I mean carefully) use a toothpick to gently prod the contact into its "not-inserted" position (it will pop up and work afterwards).  If you aren't comfortable doing this yourself, you can get an inexpensive card reader that connects via USB as a workaround.
    If the computer is still under warranty (or you have AppleCare), take it in and let Apple or an AASP fix it for you.

  • Mail not working - not receiving mail

    I sent a medium sized file yesterday and my system was very slow. I quit Mail, but now its stuck. I can't receive any mail at all. I keep getting the
    "The IMAP server “imap.aol.com” rejected the password for user “cubbear946”
    Please re-enter your password, or cancel."
    but my password and server are correct. Also, through reading some of the discussion and help issues with Mail, I can't access my outbox as it dimmed in the "Go to" menu. I think my mail is still stuck in the outbox and that is causing the problem. If it is can someone help me get my mail to work again. I'm on a MacBook with 2 GHZ Intel Core 2 Duo, 4GB of internal memory, 320GB HD and I'm using Mac OS X 10.5.7.
    Thanks
    Mark

    the first thing I would try is to force quit Mail, if it is not actually quitting. If that doesn't fix the problem I would then try restarting the computer. I would agree that the program is hanging up. One of these two procedures should reset the program.

  • HT2216 I am on OSX 10.7.5 and recently had to reinstall it due to 'mail' not working correctly.  That problem was resolved but now my I can't use the 'right click' function on the apple usb mouse.  Any clues?

    I am on OSX 10.7.5 and recently had to reinstall it due to 'mail' not working correctly.  That problem was resolved but now my I can't use the 'right click' function on the apple usb mouse.  I only have a previous version re-install disc as I bought the latest OSX off the app store.  Any help gratefully received?

    Hmmm, no, no drivers needed, now it sounds like a bad install... unless you might have some old Mouse software installed???
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • Search help for cost center does not work after SP upgrade

    Hi,
    Create a shopping cart in SRM and go to the cost assignment tab. When click on the search help to enter a costcenter, we don't get any search help screen.
    Thanks

    Kindly check note: 1259735 Search help of generic account does not work
    Additionally Check the 5th question/answer of note 815849.

  • Mail not working in new mini mac

    i got new mini mac and mail not working. i get this message.
    You have Mail version 4.2 (1078/1084). It can’t be used on Mac OS X Version 10.6.8 (Build 10K549). For more information, click the Help button.
    dont know what to do
    thanks

    Should be Mail 4.5.  With Spotlight, check to see if you have more than one version of the Mail app onboard.  Also, make sure that there is one at the root level of the Applications folder, and that it is namely simply Mail before applying the Combo.
    Ernie

  • After upgrading, Adobe reader is not working.

    After upgrading to 10.10.2, Adobe reader is not working. It is asking for user agreement to be signed. I cannot find this again. I have uninstalled and re-installed but still does not appear. I have tried to contact Adobe with no luck. Can anyone help please?

    Since you are running OS X 10.10.2, you do not have an iMac (PPC) so you have posted in the wrong forum. I have requested the Hosts to move your post to the correct forum where hopefully someone will see it and help you.

  • I have a hp pavilion dv4-2160us and the dvd/cd reader is not working. it can't detect the disk too.

    I have a hp pavilion dv4-2160us and the dvd/cd reader is not working. it can't detect the disk too. i've done everything on the hp website to fix it (reinstall the driver, etc.), but nothing seems to help.  can anybody help me with my problem? thanks!

    When you say DVD drive is not working and cant detect disks, Is the Optical drive listed in Device manager and My computer? Is not reading any specific disks or all kinds of disks ?
    Also have you tried all possible troubleshooting steps found over here
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • Mail not working since OS X Yosemite download

    Mail not working since OS-X Yosemite download! Getting the message ''your mail index has been damaged, to repair it, quit mail'
    Same message keeps appearing despite following instructions - need mail for work! Hope someone has the answer please? iPhoto not working either since download.

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/MobileMeAccounts.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Why does the mail not work when i updated my 5s to iOs 8?

    why does the mail not work when i updated my 5s to iOs 8?

    Thank you for the reply. But can you tell me what this configuration is about and how I should do this?

  • Satellite C850-B635 and Win7 - card reader is not working

    My notebook came with windows 8 and the card reader was working
    but I installed windows 7 64-bit , downloaded all required drivers to my notebook , but the card reader is not working now .
    I downloaded a driver called card reader controller but it didn't work as well
    I don't know if there is a problem or there is a driver that I should install and I don't know .
    please help me solving that problem .
    In my windows device manager these devices isn't recognized :
    *PCI simple communications controller
    *SM Bus Controller
    *Unknown Device
    I tried to search in my drivers download page in Toshiba website but couldn't find these
    please help me making my card reader working again.
    Regards
    Message was edited by: domaking

    To me the case is simple and the reason why the SD card reader does not work is that an compatible driver isnt installed.
    My theory seems to be correct since the SM bus controller and PCI simple communications controller appear in the device manager and I guess one of these devices belongs to the SD card reader/controller.
    I think you should simply install this Realtek Card Reader Controller which I found on the Toshiba EU driver page
    http://support1.toshiba-tro.de/tedd-files2/0/carc-20130924161048.zip
    Furthermore you should install all other Win 7 drivers as well as Toshiba tools available for Satellite C850 series.
    Very important is the chipset driver, USB 3.0 driver (Win 7 needs this driver to control the USB 3.0 port), display driver. etc
    Not very essential tools are Bulletin Board, Online Product information, Reeltime, etc such additional tools dont improved the notebook performance so its up to you if you want to use these software parts

  • SD card reader is not working in my MBP early 2011. Is there any solution?

    SD card reader is not working in my MBP early 2011. Is there any solution?

    on my macbook iphoto didn't recognise my camera or card reader after upgrading to iphoto '11,
    Evenutally I went to an application called Image Capture which I seem to have already.  This read the camera contents.  I selected the images I wanted and then imported them into iphoto which was one of the options given.  It worked.  God knows why one has to go through two steps.  But I'm feeling pretty triumphant. This may help you if you haven't already sorted it.

Maybe you are looking for

  • Nokia Lumia 520 hanging problem

    hi im having a lot of problem with my phone hangs ... this is happening frequently.. when i swipe the lock screen i can find a screen with with resuming written going on and i have to restart it.. Is there any solution to over come this issue..

  • JTable question

    I'm implementing the code from Manning's Swing book. The table is rendered correctly but the table model is not saving the edit changes. After a sort or save to a file, I don't see the changes made in the cells. The table is getting refreshed properl

  • Mounting image on dektop

    Can anyone help, I switched of so that images only mount in a finder window but not on my desktop. Can anyone tell me how to make images appear back on my ddesktop, say when I insert a cd. Thanks Paul

  • Cannot open files, "index.xml file is missing". ???

    I cannot open files, the message "idex.xml file is missing" shows up.  What to do?

  • Trying to upload widescreen 16:9 footage on APE8 and it upload only 4:3

    I am using a JVC Everio GZ MG630