James should be separate from your web application.
You should use the Java mail client to access james thru the POP3 and
SMTP ports.
[EMAIL PROTECTED] sent the following on 6/30/2006 3:45 AM:
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]