JavaMail Section Index | Page 2
I'm using Google's configuration options to check my gmail account but it still isn't working. What could be wrong?
Not only do you have to use the right settings to get the mail but you must enable POP access in GMAIL.
BCC stands for BLIND carbon copy. In other words, you aren't supposed to see who the sender sent the message to. This field works well when someone sends a message out to LOTS of people and doesn...more
Google offers the configuration options at http://mail.google.com/support/bin/answer.py?answer=13287.
I'm having problems using POP3 JavaMail with the Microsoft Exchange Server. What do I have to do to fix this?
If your version of Exchange doesn't implmenet POP3 properly, you need to tell JavaMail to forget about TOP headers by setting the mail.pop3.forgettopheaders property to true.more
JavaMail 1.4 adds get/setPreamble() methods to the MimeMultipart class. Some protocols like IMAP will not allow access to this text.
Starting with JavaMail 1.4, you can take advantage of the protected updateMessageID() method in your custom subclass of MimeMessage.
Use the getSeparator() method of Folder, instead of checking if the folder exists first.
Use the new PreencodedMimeBodyPart class, added to JavaMail 1.4.
Use the fold() and unfold() methods of MimeUtility, added to JavaMail 1.4. Previosly, the methods were present, but private.
Added to JavaMail 1.4, see the new public void set(String name, String value, String charset) method of ParameterList.
If the mail.mime.encodeparameters System property is set to "true". non-ASCII parameters will be encoded per RFC 2231. If the mail.mime.decodeparameters System property is set to "true". parameter...more
See the public void setProtocolForAddress(String addresstype, String protocol) method of Session added to JavaMail 1.4.
JavaMail 1.4 adds a new constructor public Provider(Type type, String protocol, String classname, String vendor, String version) for just such a need. You also need to use the new public void addP...more
See the QuotaAwareStore interface added to JavaMail 1.4. It is a new interface that the actual IMAP Store implements.
How can I send an attachment without having to use a physical file?