Jump to content
Excelsior Forums
david1234

sending mail

Recommended Posts

Hi,

I am using the JavaMail API to allow the user to send a bug report, it works in the version which is not compiled with JET. I have tried adding the jars (mail.jar and activation.jar) to the classpath but I don't get it to work. Has anyone implemented this and compiled it successfully?

Thanks a lot

david

Here is the project file for info:

%%Excelsior JET v3.11 project file

-gcdefragment-

-genasserts-

-gendll-

-genstackalloc+

-gui+

-ignoreclassduplication+

-ignorememberabsence-

-inline+

-classabsence=ERR

-compilerheap=0

-heaplimit=201326592

-inlinelimit=100

-inlinetolimit=1000

-jetvmprop=-Djet.gc.ratio:80 -Djet.gc.defragment:true -Djet.gc.heaplimit:201326592

-main=com/phenosystems/gensearch/genSearch

-stacklimit=900000

-standaloneresources="C:\gensearch\lib";

-lookup=*.class=C:\gensearch\lib;

-lookup=*.class=C:\gensearch\lib\mail.jar;

-lookup=*.class=C:\gensearch\lib\jdom.jar;

-lookup=*.class=C:\gensearch\lib\activation.jar;

%!resource "C:\gensearch\lib"

!push

-bindresources+

-resourceonly+

-bindclasses+

!module C:\gensearch\lib\mail.jar

!pop

!push

-bindresources+

-resourceonly+

-bindclasses+

!module C:\gensearch\lib\jdom.jar

!pop

!push

-bindresources+

-resourceonly+

-bindclasses+

!module C:\gensearch\lib\activation.jar

!pop

!push

-bindresources+

-resourceonly+

-bindclasses+

!module C:\Program Files\Java\j2re1.4.2\lib\jce.jar

!pop

!push

-bindresources+

-resourceonly+

-bindclasses+

!module C:\Program Files\Java\j2re1.4.2\lib\ext\sunjce_provider.jar

!pop

!module com/phenosystems/gensearch/genSearch.class

!module JDOMAbout$1.class

!module C:\gensearch-jet\bin\GensearchIcon.ICO

!batch *.class "com/oroinc/net/ftp"

!batch *.class "com/oroinc/net/telnet"

!batch *.class "com/oroinc/util"

!batch *.class "com/phenosystems/gensearch/analysis"

!batch *.class "com/phenosystems/gensearch/database"

!batch *.class "com/phenosystems/gensearch/exception"

!batch *.class "com/phenosystems/gensearch/geneReference"

!batch *.class "com/phenosystems/gensearch/gui"

!batch *.class "com/phenosystems/gensearch/menu"

!batch *.class "com/phenosystems/gensearch/mutDB"

!batch *.class "com/phenosystems/gensearch/parameters"

!batch *.class "com/phenosystems/gensearch/sequence"

!batch *.class "com/phenosystems/gensearch/service/database/dao"

!batch *.class "com/phenosystems/gensearch/service/database/exception"

!batch *.class "com/phenosystems/gensearch/service/database/factory"

!batch *.class "com/phenosystems/gensearch/swing"

!batch *.class "rainbow"

!batch *.class "socket"

!batch *.class "javax/mail/internet"

Share this post


Link to post
Share on other sites

Please elaborate a bit on how it fails.  Does it emit errormessages?

What does the log of the mailserver say, if it tries to contact the

mailserver at all?

/MrMis .

Share this post


Link to post
Share on other sites

×