Phillippe-
If it was for an internal app, I would agree. The problem: this needs to
work in ColdFusion without having to distribute licensed libraries...
There has to be a workaround - surely someone can successfully access emails
via IMAP and JavaMail else why would they support it?
Thanks,
Drew
-----Original Message-----
From: philippe bertramo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 12:47 PM
To: JRun-Talk
Subject: RE: JavaMail Issues
Drew,
can it be because Sun's library is a sample (there's a more appropriate
term
but I can't remember it)
implementation and may notsupport all features or not all in all
conditions
?
You may have better luck with a commercial product.
Philippe
Philippe Bertramo
~~~~~~~~~~~~~~~~~~~~~~~~~~
[EMAIL PROTECTED]
Tel:+352(0)91461365
Fax:+352 26458784
5 rue d'Oradour, L-2266 Luxembourg
~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.waex.com
~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: Drew Falkman [mailto:[EMAIL PROTECTED]
Sent: 14 January 2004 21:03
To: JRun-Talk
Subject: JavaMail Issues
Actually, I have a question for y'all:
I am working on something to access IMAP using the JavaMail API. I can
retrieve all the messages from the server, but for some reason, I get a
NullPointerException whenever I call on:
message.getContentType() or message.getContent() (where message is an
instance of a javax.mail.Message object)
It makes no sense, as I can call on message.getSubject() and other
methods,
thus the object exists and should for no reason throw a NPE... I have
tried
casting the MEssage object to a Part object (getContent() is inherited
into
the Message class from the Part class), I have tried using DataHandler
objects and I'm about at my wits end... (Did I mention this was due last
Friday...?)
I have worked with Macromedia tech support on this, but all we
discovered
was that this is an issue with the sun library (the same error is thrown
when executed on Tomcat and BEA WebLogic). Of course, this doesn't
change
that I need this functionality.
If you would like to see code, let me know. But I assume that others
have
encountered this problem as I have seen posts in miscellaneous places
online
(but no good responses, however...)
Thanks.
Drew Falkman
Veraison, LLC
http://www.veraison.info
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Increasing Logfile count DeMarco, Alex
- RE: Increasing Logfile count Drew Falkman
- Re: Increasing Logfile count Ben Groeneveld
- RE: Increasing Logfile count Theodore Zimmerman
- RE: Increasing Logfile count DeMarco, Alex
- RE: Increasing Logfile count Drew Falkman
- RE: Increasing Logfile count Skip Klobucher
- JavaMail Issues Drew Falkman
- RE: JavaMail Issues philippe bertramo
- Drew Falkman