• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to install JavaMail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to install JavaMail


  • Subject: Re: How to install JavaMail
  • From: Benjamin Miller <email@hidden>
  • Date: Thu, 8 Dec 2005 17:55:06 +0000

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


Benjamin


On 8 Dec 2005, at 16:06, email@hidden wrote:

public class Mobile {

public Session session;

public Properties properties;

public void someMethod() {

properties = new Properties();

session = Session.getInstance(properties);

}


   *    *
*    *       *
    *     *    Electric December 
 *    *    24 days of digital distractions http://www.electricdecember.org
    *    


Benjamin Miller, Digital Developer
Watershed Media Centre
1 Canon's Road, Harbourside, Bristol, UK. BS1 5TX
t: +44 (0)117 927 6444, f: +44(0)117 921 3958
http://www.watershed.co.uk
iChat/AIM: email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Help deciphering SocketException, (anchor problem)
  • Next by Date: Re: using an int for a EOQualifier
  • Previous by thread: Re: How to install JavaMail
  • Next by thread: Switching to document style...
  • Index(es):
    • Date
    • Thread