QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

Can I use the JavaMail APIs to implement a mail server?

JavaMail API - FAQ
The JavaMail APIs were not intended to help you implement a mail server. Nonetheless, some of the utility classes, such as the MIME message parsing classes, might be of use to you. In general you'll find that the JavaMail API errs on the side of "simple" instead of "robust". That's appropriate for a mail client, but a mail server would likely make different tradeoffs. The JavaMail API does not include any facilities for adding, removing, or changing user accounts.

Can I use the JavaMail APIs to access my address book on my mail server?

JavaMail API - FAQ
The JavaMail API does not include any facilities for accessing an address book. There are no standards in this area; every mail server handles this differently. If you can figure out how your server does it, you might be able to find a Java API to access it. For example, if your server stores address books in LDAP, you could use the JNDI API to access it. The JavaMail API was designed to layer on top of existing email systems, using existing message formats.

Do the JavaMail APIs work in web browsers?

JavaMail API - FAQ
JavaMail will work in any browser that supports the required JDK version. The Java Plug-in may be required to provide such support.

How do I support disconnected operation using the JavaMail APIs?

JavaMail API - FAQ
The JavaMail API specification defines interfaces that can be used by a mail client to support disconnected operation. Our IMAP provider implements these interfaces (the UIDFolder interfaces).

How do I send secure email using the JavaMail APIs?

JavaMail API - FAQ
The JavaMail APIs currently have no support for sending or receiving secure email. The architecture of the JavaMail APIs allows such support to be easily added later, by us or by third parties. Information on the current Email security standards (S/MIME and PGP) can be found at http://www.imc.org/smime-pgpmime.html. Please browse our Third Party Products page for solutions from other vendors. In either case you'll need to create an appropriate FilterOutputStream to hand to writeTo().

How do I debug my application that uses JavaMail APIs?

JavaMail API - FAQ
Turn on session debugging by invoking the method setDebug(true) on the Session object in your code. That will cause debug information to be printed to the console, including a protocol trace. If you passed the System properties to the Session when you created it, you can simply run your program with java -Dmail.debug=true ..

Is it possible to use JavaMail?

FAQ - JSP Hosting, Servlet Hosting, J2EE Hosting
The shared JVM has the JavaMail libraries in the CLASSPATH. If you have a private JVM, you can include the appropriate .jar files in your private JVM. The JavaMail APIs are included with Jakarta Tomcat 4 and Tomcat 5. Note: the application should be using localhost to connect with it.

Can I use JavaMail to read mail from my web mail account (such as Yahoo or Hotmail)?

JavaMail API - FAQ
It depends. Many web-based email services provide access only using a browser with HTTP. These services cannot be accessed using JavaMail. If the service also provides POP3 or IMAP access, JavaMail can probably be used to access it. Contact your web email service provider for details. Also, see the JHTTPMail project for an open source provider for JavaMail that provides access to Hotmail.

Your SMTP server sample does not relay mail. How can I implement this?

Server ActiveX, Server Component, Server VB
The PowerTCP Mail Tool, available separately, can be used to easily forward mail to an intermediate server or final destination.

How do I access Yahoo! Mail with JavaMail?

JavaMail API - FAQ
JavaMail 1.4 is capable of sending and reading messages using Yahoo! Mail Plus. All that's required is to properly configure JavaMail. I'll illustrate the proper configuration using the demo programs that come with JavaMail - msgshow.java and smtpsend.java. Note that free Yahoo! Mail accounts do not allow POP3 or SMTP access. You must purchase a Yahoo! Mail Plus account to get POP3 and SMTP access.

What are the mail server entries I should use?

Malaysia Web hosting : King Of Hosting : Our Name Says It Al...
Both incoming and outgoing ail servers should be setup as mail.yourdomain.com, where mail.yourdomain.com is the name of your domain minus the www.

Can I use encryption APIs in V5R3?

Powertech - Products - Encryption
In V5R3 and i5OS IBM introduced new APIs that support Triple DES and AES encryption. These APIs are a starting point for developing a field level encryption strategy. You can think of these APIs as a set of tools and a starting point for creating a security strategy. If you use these APIs you should be aware of the following limitations: The IBM encryption APIs do not support any type of key management. You will need to construct key management routines and be prepared to defend your approach.

Can I also use feeds and apis from other sources?

Reboot bbc.co.uk | FAQ ::
Yes, please do. Feel free to 'remix' our stuff with other content to create new and interesting propositions that people will like.

Is there a security problem with your mail server?

Frequently Asked Questions
The security problem extends, unfortunately, to the e-mail protocol itself. Mail administrators are required to return, as undeliverable, any messages addressed to an invalid address on a particular network (such as SBCIS). This opens up the possibility for abuse by spammers running software that attempts to send messages to as many different addresses as possible. (See above.)

Can I use JavaMail in servlets?

JavaMail API - FAQ
My web application uses JavaMail to attach and send a file that the user specifies, but my application can't find the file.

Where can I find some example programs that show how to use JavaMail?

JavaMail API - FAQ
There are many example programs included in the JavaMail download package, including simple command line programs illustrating various aspects of the JavaMail API, a Swing-based GUI application, a simple servlet-based application, and a complete web application using JSP pages and a tag library.

Can I use JavaMail in applets?

JavaMail API - FAQ
Yes, JavaMail will work in applets in browsers that support the required JDK version. The Java Plug-in may be required to provide such support.

Can I use JavaMail to backup my GMAIL account?

jGuru: What's New
Short answer. Yes. Longer answer: In Gmail, access the SETTINGS link. Select FORWARDING AND POP. Select Enable POP for all mail (even mail that's... This is controlled by an option in the Control Panel. Find the Advanced tab of the Java feature under the Control Panel. Select "Show console" and it will... All Linux Devices | AntiOnline | Apache Today | ASPNews | CPU Planet | DatabaseJournal | DBASupport.

How do I configure JavaMail to work through my proxy server?

JavaMail API - FAQ
When connecting to my mail server over SSL I get an exception like "unable to find valid certification path to requested target".
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact