You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Bernd Fondermann <be...@googlemail.com> on 2006/07/02 23:24:26 UTC

Re: Integrate James Wih Web Application

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, kumarasamy.mani@gmail.com <ku...@gmail.com> 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>kumarasamy@mymailserver.com</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 kumarasamy.mani@gmail.com at openSubscriber.com
> http://www.opensubscriber.com/messages/server-user@james.apache.org/topic.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org