Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JavaMail from ASA Java

2 views
Skip to first unread message

Leonid

unread,
Sep 23, 2002, 6:31:22 AM9/23/02
to
Hi,

I tried to send mail from java in ASA 8 .
I am getting the following:

DEBUG: Cannot open file
DEBUG: not loading optional custom providers file:
/META-INF/javamail.providers
DEBUG: can't load default providers file/META-INF/javamail.default.providers

DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {}
DEBUG: Providers Listed By Protocol: {}
DEBUG: not loading optional address map file: /META-INF/javamail.address.map
Exception in main - java.io.IOException: Cannot open file
java.io.IOException: Cannot open file
at java.io.FileInputStream.open(FileInputStream.java)
at java.io.FileInputStream.<init>(FileInputStream.java:58)
at javax.mail.Session.loadAddressMap(Session.java:979)
at javax.mail.Session.<init>(Session.java:67)
at javax.mail.Session.getDefaultInstance(Session.java:163)
at sendSMTP.doSendMessage(sendSMTP.java:37)
at sendSMTP.fillFileds(sendSMTP.java:160)
at sendSMTP.main(sendSMTP.java:138)
at sendSMTP.main(sendSMTP.java:137)

File javamail.providers is in mail.zip.
Is there any place where ASA will find the needed files?

Leonid.


0 new messages