Last updated February 14, 2012 19:32, by shannon
Feedicon  
= Gmail = This page describes hints and tips for using JavaMail with Gmail. Basic Gmail usage information can be found in the [ http://java.sun.com/products/javamail/FAQ.html#gmail JavaMail FAQ ]. Gmail users might want to read the [http://support.google.com/mail/bin/topic.py?hl=en&topic=1668982&parent=1668981&ctx=topic IMAP Issues page in Gmail Help]. To send email using Gmail with a different address than the one you signed in with, see this [https://support.google.com/mail/bin/answer.py?hl=en&answer=22370 Gmail help page]. As of Mar 21, 2011, an old Gmail bug has returned. When reading an attachment, Gmail fails to return all of the data. This occurs because Gmail reports the wrong size for the attachment in the BODYSTRUCTURE response. It reports the size using Unix line terminators instead of the required MIME line terminators. The bug has been reported to Google. As of Dec 2011, several users have reported an ArrayIndexOutOfBoundsException when accessing some messages in Gmail. This is a bug in Gmail involving Subject headers with embedded newlines. Google expects a fix to be available in mid March 2012. As of Jan 2012, Gmail has a bug that causes it to fail to return a valid IMAP BODYSTRUCTURE response for messages that include another message as an attachment. Applications may see an exception with a message of "ENVELOPE parse error". The [http://www.oracle.com/technetwork/java/javamail/faq/index.html#imapserverbug workaround described in the JavaMail FAQ] can be helpful for dealing with such messages. JavaMail 1.4.5 includes a workaround for this Gmail bug.
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close