Skip navigation
Currently Being Moderated

cfimap

May 9, 2012 11:49 AM

 
Replies
  • Currently Being Moderated
    May 9, 2012 11:49 AM   in reply to Community Help

    An exception occurs when trying to retrieve a mail with an empty body and an attachment :

    "The cause of this exception was: java.lang.ClassCastException: javax.mail.internet.MimeMessage cannot be cast to javax.mail.internet.MimeBodyPart."

     

    tried with Gmail, CF8/9, CFPOP/CFIMAP

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 20, 2013 11:41 AM   in reply to Community Help

    What it's the test.cf.gmail of the connection?? it's a file? if is, what's the content of this file? thanks.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 26, 2013 9:16 AM   in reply to mattlink03

    What do you mean by "test.cf.gmail"?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 28, 2013 8:35 PM   in reply to Poisson Bouge

    haaaa i'm sorry, i found the answer of my question, is the name of the connection, like this:  with the name of the connection reference, you can use it in another action.

    Now i have another issue, i try to retrieve a emails, but i can't retrieve all emails, this is the message i receive of coldfusion:

    InvocationTargetException:There was an error while invoking the operation. Check your server settings and try invoking the operation again.

    Reason: Server error Unable to invoke CFC - An exception occurred while performing action getall in cfimap tag. The cause of this exception was: java.lang.NullPointerException.

    It's only with some emails if i use the messagenumber and going one on one, i can figure out what email is the wrong, anyone knows about this error?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points