try something like:public class Mobile { public javax.mail.Session mailTransSession; public Properties properties; public void someMethod() { properties = new Properties(); mailTransSession = javax.mail.Session.getInstance(properties); }The mail transport session is becoming mixed up with WOSess
On 8-Dec-05, at 11:05 AM, Peteris Krisjanis wrote:
:)
Yeah, I know, I hate sometimes JB for not showing all classes.
However, another problem accoured with JavaMail - I have such Java
class.
import com.webobjects.foundation.*;
import com.webobjects.eocontrol.*;
import com.webobjects.appse
:)Yeah, I know, I hate sometimes JB for not showing all classes.However, another problem accoured with JavaMail - I have such Java class.import com.webobjects.foundation.*;import com.webobjects.eocontrol.*;import com.webobjects.appserver.*;import com.webobjects.eoaccess.*;import java.util.Properti
Am 08.12.2005 14:44 Uhr schrieb "Peteris Krisjanis" unter
<[EMAIL PROTECTED]>:
> It could be rahter simple and stupid question, but how install
> JavaMail, where to find mail.jar un activation.jar according to this
> page which should be used.
>
> http://developer.apple.com/documentation/WebOb
For portability reasons, you might also want to consider sticking the
jars into a framework:
just copy them into a subdir called "Java" and make a copy files
build phase to your application server target in XCode. Add your jars
to that build phase and set the copy target to "Resources / Jav
Download JavaMail here:
http://java.sun.com/products/javamail/downloads/index.html
Install mail.jar and activation.jar in either:
Option 1:
/Library/WebObjects/Extenstions
or
Option 2:
/Library/Java/Extensions
Option 1 makes JavaMail available to all WebObjects applications on
the box. Op
It could be rahter simple and stupid question, but how install
JavaMail, where to find mail.jar un activation.jar according to this
page which should be used.
http://developer.apple.com/documentation/WebObjects/Reference/API/com/
webobjects/appserver/WOMailDelivery.html
Also I can't find a