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. 
----- Original Message -----
From: rupalim
Sent: Monday, August 20, 2001 1:04 PM
Subject: urgent

hi
 can anyone tell me how to configure  weblogic server to send  mail  using java mail api?
thans
rupalim 

Reply via email to