A
alan_conoco
Hi all,
I have written a progam which uses JavaMail to send a couple of emails.
This works perfectly when run in JBuilder 2006 Enterprise.
However when I deploy the project to a JAR (all done using the features
in JBuilder) and execute if from the command line it throws
javax.mail.NoSuchProviderException: smtp
at javax.mail.Session.getService(Session.java:768)
at javax.mail.Session.getTransport(Session.java:708)
at javax.mail.Session.getTransport(Session.java:651)
at javax.mail.Session.getTransport(Session.java:631)
at javax.mail.Session.getTransport(Session.java:686)
at javax.mail.Transport.send0(Transport.java:166)
at javax.mail.Transport.send(Transport.java:98)
any help would be greatly appreciated, I am proficient with writing
code but have no idea where to start with networking issues like
this....
OS: Win NT
JRE: 1.5
thanks,
Alan
I have written a progam which uses JavaMail to send a couple of emails.
This works perfectly when run in JBuilder 2006 Enterprise.
However when I deploy the project to a JAR (all done using the features
in JBuilder) and execute if from the command line it throws
javax.mail.NoSuchProviderException: smtp
at javax.mail.Session.getService(Session.java:768)
at javax.mail.Session.getTransport(Session.java:708)
at javax.mail.Session.getTransport(Session.java:651)
at javax.mail.Session.getTransport(Session.java:631)
at javax.mail.Session.getTransport(Session.java:686)
at javax.mail.Transport.send0(Transport.java:166)
at javax.mail.Transport.send(Transport.java:98)
any help would be greatly appreciated, I am proficient with writing
code but have no idea where to start with networking issues like
this....
OS: Win NT
JRE: 1.5
thanks,
Alan