Re: JavaMail in WO
Re: JavaMail in WO
- Subject: Re: JavaMail in WO
- From: "Ricardo Cortes" <email@hidden>
- Date: Mon, 16 May 2005 19:05:39 -0400
- Organization: Bolt
Personally, I find it easier to use the Wonder Framework which wraps
JavaMail quite well. There's an ERMailDeliveryPlainText object that is
really easy to use. An example is here:
http://homepage.mac.com/kelleherk/iblog/C183784902/E2093239404/
Of course, if you deploying your application as a WAR, good luck. The
Wonder frameworks seem to be broken for development/deployment with a
WAR :(
Ciao,
Ricardo
--
Lead Software Engineer
email@hidden
Bolt Media - www.bolt.com
On Mon, 2005-05-16 at 15:55 -0700, WebObjects wrote:
> First-time implementer of JavaMail
>
> I'm trying to depart from WOMailDelivery and read earlier posts (ones I
> could find) to quickly educate myself on javamail.
>
> My first problems are:
>
> 1.- Is there the simplest example code floating around out there? (wanting
> to send in plaintext and .html (component) styles)?
>
> 2.- I'm wanting to send from within the Application, not Session - are there
> any caveats to this? (is it impractical?) (ie. Message msg = new
> MimeMessage(session); //no session in Application)
>
> Thanks for your help!
>
> -Bill Reynolds
> (xcode user, still)
>
>
> on 3/10/05 15:16, Andrew Lindesay at email@hidden wrote:
>
> >> People have been kind enough to post sample code for using JavaMail to
> >> send e-mail messages from WebObjects applications.
> >> How do I make these packages available to my project? What do I need
> >> to do in Xcode to include these packages?
> >
> > As long as nothing has changed in the interim... Go to here...
> >
> > http://java.sun.com/products/javamail/javamail-1_3_1.html
> >
> > Read it over and you'll end up with...
> >
> > mail.jar
> > activation.jar
> >
> > Put these into...
> >
> > /Library/Java/Extensions
> >
> > ...and it ought to work.
> >
> > cheers.
> >
> > ___
> > Andrew Lindesay
> > www.lindesay.co.nz
> > +64-21-47-0929
> >
> > _______________________________________________
> > 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
> >
> > ______________________________________________________________________
> > This email has been scanned by the MessageLabs Email Security System.
> > For more information please visit http://www.concyse.com/
> > ______________________________________________________________________
>
>
> _______________________________________________
> 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
>
_______________________________________________
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