|
Hi,
A little bit OUT OF TOPIC but
anyway:
In BEA 6.0 and 6.1 you have to configure a MAIL
SESSION using the console/ application or by modify directly the
config.xml file.
After you have done this you simply use the Sun's
JavaMail API,
taking into account that Weblogic offers you the
session object that you have to use.
So you loookup the JNDI name, take the session and
use it as usually.
A typical entry in config.xml looks like
this:
<MailSession
JNDIName="myMailSession"
Name="my mail session" Properties="
mail.store.protocol=pop3;
mail.user=a user
name;
mail.transport.protocol=smtp;mail.pop3.user=a user name;
mail.smtp.host=myserver.mydomain;
mail.debug=true;
mail.host=myserver.mydomain;
mail.smtp.user=a
user name;
mail.pop3.host=myserver.mydomain Targets="myserver"/>
Cheers,
Ionel Condor.
|
- Urgent Pawan Aggarwal
- Re: Urgent Dave Wolf
- Re: Urgent T A Flores
- urgent daniel legziel
- EntityBean Caching Ron Bennett
- Re: EntityBean Caching Johan Eltes
- urgent daniel legziel
- Re: urgent Lyndon Samson
- urgent rupalim
- Re: urgent Ionel Condor
- Re: urgent Ashwani Kalra
- urgent rupalim
- Re: urgent Doug Bateman
- Urgent rupalim
- Re: Urgent Sanjiv Kapila
- Re: Urgent Juan Pablo Lorandi
