• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

JAVAMAIL / IMAP

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
I tried to run the demo available in the javamail package configuring the JAVAWEBSERVER2.0 as per the guideline given in the README file .But I am confused as to what is to be used as IMAP host .Also, I didnot find jws.jar in the javawebserver2.0\LIB package which needs to be set in the class path.
Can anyone help?
Manish
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The IMAP host is the name or IP address of whichever machine you have that runs IMAP. IMAP is a mail access protocol similar to POP3; you may already be using an IMAP host if you are already set up to receive email. Have a look in the configuration of your existing mail client, and use the same machine details.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Frank,
Can u explain me how to set up any machine for an IMAP? or can it be connected to POP3 server as well ?
That will be indeed useful to me.
Thanx,
Manish
 
Frank Carver
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Setting up a mchine as an IMAP server requires running an IMAP daemon, which may be more complicated than necessary. Depending which version of JavaMail you have, POP3 may be built in, if it is, converting the example to use POP3 should be easy. If POP3 is not built in you will need to download the pop3.jar from the Sun JavaMail site and put it in your classpath or jre/ext/lib.
 
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic