Thank-you.
That did it.
-Steve
> Kesav Kumar wrote:
>
> You have to write the following in either application.xml(if you want
> for all applicatons) or myapplication.xml(Only for this application).
>
> <mail-session location="mail/MailSession"
> smtp-host="hermes.voquette.com">
> <property name="mail.transport.protocol"
> value="smtp"/>
> <property name="mail.smtp.from"
> value="[EMAIL PROTECTED]"/>
> </mail-session>
>
> This will add mail session to JNDI context. If you want to refer this
> mailsession from your ejb/servlets you have to write the resource-ref
> in ejb-jar.xml/web.xml correspondingly.
>
> <resource-ref>
> <description>Mailing resource the EJB
> requires</description>
>
> <res-ref-name>mail/MailSession</res-ref-name>
>
> <res-type>javax.mail.Session</res-type>
> <res-auth>Container</res-auth>
> </resource-ref>
>
> In your program get the mail session by using lookup
>
> Context ctx = new InitialContext();
> javax.mail.Session session =
> (javax.mail.Session)context.lookup("mail/MailSession");
>
> Kesav Kumar Kolla
> Voquette Inc
> 650 356 3740(W)
> 510 889 6840(R)
> Voquette....Delivering Sound Information
>
> -----Original Message-----
> From: Stephen Davidson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 9:08 AM
> To: Orion-Interest
> Subject: JavaMail/Orion
>
> Greetings.
>
> How do I start the JavaMail Service in Orion. It does not seem to
> start
> or load automatically.
>
> Thanks,
> Steve
--
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208