From user-return-402-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Wed Apr 27 20:24:20 2005 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 65289 invoked from network); 27 Apr 2005 20:24:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2005 20:24:19 -0000 Received: (qmail 13123 invoked by uid 500); 27 Apr 2005 20:25:17 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 13107 invoked by uid 500); 27 Apr 2005 20:25:17 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 13092 invoked by uid 99); 27 Apr 2005 20:25:17 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=FROM_HAS_ULINE_NUMS,MSGID_FROM_MTA_HEADER X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of delafran_j2ee@hotmail.com designates 64.4.51.75 as permitted sender) Received: from bay107-dav3.bay107.hotmail.com (HELO hotmail.com) (64.4.51.75) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 27 Apr 2005 13:25:17 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 27 Apr 2005 13:24:16 -0700 Message-ID: Received: from 64.4.51.200 by BAY107-DAV3.phx.gbl with DAV; Wed, 27 Apr 2005 20:24:16 +0000 X-Originating-IP: [64.4.51.200] X-Originating-Email: [delafran_j2ee@hotmail.com] X-Sender: delafran_j2ee@hotmail.com Message-ID: <426FF4EA.2020400@hotmail.com> Date: Wed, 27 Apr 2005 16:24:10 -0400 From: Mark User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Geronimo and JavaMail References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 27 Apr 2005 20:24:16.0826 (UTC) FILETIME=[15BBA1A0:01C54B67] X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Katia, From a previous message, Jeremy indicated that you will have to include a dependency on geronimo-mail. In modules/assembly/src/plan/j2ee-server-plan.xml, include the following: geronimo/jars/geronimo-mail-${geronimo_version}.jar This jar contains NullTransport which send the mail message to .. neverland. This will permit EJBs to send mail ... Browse Sun's web site in the J2EE section and you will find an impl of the JavaMail API. It will have jar file, once you have the jar file, I would suggest you try the following: 1. Copy the jar file to modules\assembly\target\geronimo-1.0-SNAPSHOT\repository\javamail\mail.jar 2. Change the j2ee-server-plan.xml from the above to: javamail/mail.jar 3. If you look at the mail.jar file, you will find a set of files javamail.*.provider. These are the definitions of the providers/transports. Sun's documentation will instruct you to setup some system properties for these providers. For example: mail.smtp.host=mail.apache.com A simple way to set these is on the command line: java -Dmail.smtp.host=mail.apache.com -jar bin/server.jar ..... Hope this helps, Mark Katia Aresti Gonzalez wrote: > > Jeremy: > > The simplest way to switch to Sun's transport is to replace > geronimo-mail with the RI (javamail-1.3.2 IIRC) in the j2ee-server > plan. You will need to download that from Sun's site. > > Can you please explain thismore detailed? :-) I have downloades > javamail 1.3.2 , and i have the jars and all that, but i dont know > what are you speaking about really... Where do i have to put the jars? > where is the fail i have to remove? > thank you very much!!! > > Katia > >> From: Jeremy Boynes >> Reply-To: user@geronimo.apache.org >> To: user@geronimo.apache.org >> Subject: Re: Geronimo and JavaMail >> Date: Wed, 27 Apr 2005 12:28:45 -0700 >> >> Katia Aresti Gonzalez wrote: >> >>> hello everybody!! >>> >>> Ive done an applicarion with javamail, and i have deployed into >>> geronimo. the thing is that it doesnt give any exception, but the >>> email doesnt send any email. I know i have to put the jars of sun >>> into Geronimo. Anybody could help me with this? Where do i have to >>> put the jars so my application send emails? >>> >> >> My guess would be you are using the Null transport which just >> swallows emails. I think that is the default one in geronimo-mail. >> >> The simplest way to switch to Sun's transport is to replace >> geronimo-mail with the RI (javamail-1.3.2 IIRC) in the j2ee-server >> plan. You will need to download that from Sun's site. >> >> -- >> Jeremy > > > _________________________________________________________________ > Horóscopo, tarot, numerología... Escucha lo que te dicen los astros. > http://astrocentro.msn.es/ > > >