Hi Kumarasamy,

J2EE Servers like Weblogic are required to support sending out email
through JavaMail (J2EE 1.4 Spec, 2.6.9).

Receiving mail requires a bit more effort: You would have to poll a
James POP3 account from within your web application.

Hope that helps,

 Bernd

On 6/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Dear All,
I'm very much new to James. I have installed and configured the James. And i'm 
able to run the JAMES using run.bat and through console i'm able send mails and 
i can receive in outlook also.

My doubt is somethink like I want to run this JAMES for sending and receiving 
mails in my web application running on Weblogic.

In my SAR-INF/config.xml i have changed the following entries..

<postmaster>[EMAIL PROTECTED]</postmaster>

<servernames autodetect="false" autodetectIP="true">
<servername>10.0.0.2</servername> <!-- My Loacl DNS server-->
</servernames>

<pop3server enabled="true">
<port>110</port>
<handler>
<helloName autodetect="true">mymailserver.com</helloName>
<connectiontimeout>120000</connectiontimeout>
</handler>
</pop3server>

<smtpserver enabled="true">
<port>25</port>
<handler>
<helloName autodetect="true">mymailserver.com</helloName>
<connectiontimeout>360000</connectiontimeout>
<maxmessagesize>0</maxmessagesize>
</handler>
</smtpserver>

This is what i ahev changed in my config file. I think i have to configure 
Spool and JDBC to access the mail.

My another doubt is when i'm running my webapplication i have to run JAMES as a 
seperate service or how to tell my web application to catch the JAMES to send 
and receive mails.
Thanks and Regards
Kumarasamy.M

--
This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com
http://www.opensubscriber.com/messages/[email protected]/topic.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to