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

Frequently Asked Questions

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 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.

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.

Is it possible to use Expect and [IncrTcl] together?

Expect FAQ (Frequently Asked Questions)
Make sure that your Tcl and Expect and itcl were built with --enable-shared. Then you should be able to start up a vanilla tclsh or wish and use the following commands to load the two packages: package require Expect package require Itcl In itcl3.0, all itcl commands are in an "itcl::" namespace. So you have to use commands such as "itcl::class" and "itcl::delete".

Is it possible to use Expect and TclX together?

Expect FAQ (Frequently Asked Questions)
They work fine together. However, you should prepend "exp_" to your Expect command names. This will ensure that there are no conflicts between Expect commands and tclX commands of the same name (like wait). Just pick up the "make-a-wish" package, follow the instructions, and you will be all set. I have built a wish based on tcl, tk, Expect, tclX, and dp using this technique with no observed problems.

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.

What configuration options do I use to connect to gmail/Google from JavaMail?

jGuru: JavaMail FAQ Home Page
Google offers the configuration options at http://mail.google.com/support/bin/answer.py?answer=13287. 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... JavaMail 1.4 adds get/setPreamble() methods to the MimeMultipart class. Some protocols like IMAP will not allow access to this text.

What is the JavaMail API?

JavaMail API - FAQ
The JavaMail API is a set of abstract APIs that model a mail system. The API provides a platform independent and protocol independent framework to build Java technology based email client applications. The JavaMail API provides facilities for reading and sending email. Service providers implement particular protocols. Several service providers are included with the JavaMail API package; others are available separately.

How much RAM do I need? Is it possible to use disk memory at all?

Appendix A. Frequently Asked Questions About MySQL 5.1
I'm trying to populate a Cluster database. The loading process terminates prematurely and I get an error message like this one: ERROR 1114: The table 'my_cluster_table' is full

Is it possible to use your templates to develop websites for my customers?

Frequently Asked Questions
Yes. It is perfect for designers who want to offer their customers a high-quality design and also save time and money. Mind that when you purchase the template with oridnary or exclusive licence you're entitled to create only one project (one domain name).

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.

How can I serialize a JavaMail Message?

jGuru: Serialization FAQ Home Page
You can't. As messages are associated with folders which are associated with sessions, Message objects are considered not serializable. Like threads and... According to the API documentation for ObjectInputStream's constructor: The stream header containing the magic number and version number are read...

With regard to the mailing, is it possible to use registered mail or express courier?

IBLA Grand Prize Bellini International Vocal Competition and...
In general we discourage spending money in expensive mailing services. Regular mail usually reaches New York very quickly from everywhere in the world. In addition, the office is very flexible with deadlines. Deadlines are usually indications of time frame and not severely enforced. This of course is not the case when you get very close to the competition itself.

I would also like my dentist to use a laser instead of a drill to do my filling. Is this possible?

The Canadian Dental Association - Your Oral Health - FAQs & ...
There are also new and different ways to prepare a cavity for a filling. Lasers are a fairly new tool in dentistry. They have been used for several years on soft tissues, like the gums. Some dentists are starting to use lasers in place of drills to remove tooth decay. Lasers work best on decay close to the tooth's surface. Over the next few years, lasers will likely be refined and more dentists may be using them instead of drills. Air abrasion is another new way to remove tooth decay.

Is it possible to use Expect and <lots of random extensions> together?

Expect FAQ (Frequently Asked Questions)
I've never done it, but I know it must be possible because the tgdb package in the Tcl archive uses all of those extensions with Expect. I've done this kind of thing by hand. It's pretty simple. But people tell me the make-a-wish package in the Tcl archive automates the creation of multi-extension Tcl applications.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact