RE: geronimo mail 1.1.1

2007-02-12 Thread Rao, Nagesh
Does anybody know how to create JNDI URL resources for files in Geronimo (like file://dir/file.properties) like in Websphere. I believe it is J2EE stantdard. _ This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and

Re: geronimo mail 1.1.1

2007-02-12 Thread Rick McGuire
Michael C. wrote: Sorry about that, honestly I was not sure exactly where to add one up. How do you add a Jira, and how can I track its progress? New Jiras can be created here: http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10220 I have a suspicion your problem is a

Re: geronimo mail 1.1.1

2007-01-31 Thread Michael C.
We are now finally using the geronimo1.1 jars and the application is trying to send the email but it cannot seem to find our mail.smtp.host property: Loading javamail.default.providers from jar:file:/our path/WEB-INF/lib/geronimo-javamail-transport-1.1.1.jar!/META-INF/javamail.default.providers

Re: geronimo mail 1.1.1

2007-01-30 Thread Michael C.
We have been using the debug attribute. This is all we get: (I omitted the errors since those are in an earlier thread i sent) Loading javamail.default.providers from jar:file:/our path/lib/geronimo-javamail-transport.jar!/META-INF/javamail.default.providers DEBUG: loading new provider

Re: geronimo mail 1.1.1

2007-01-29 Thread Rick McGuire
Michael C. wrote: We are finally using the SMTPTransport class from Geronimo. We had a mail.jar file on our system path that was being picked up. At this point, we are getting an AuthenticationFailedException. If we do not need a GBEAN configuration, how do we configure our mail server and

Re: geronimo mail 1.1.1

2007-01-29 Thread Michael C.
Here is our send logic, a lot of code has been omitted, including error handling... public void send(EmailMessage outboundMsg) { String workString; MimeMessage message; Properties systemProp =

Re: geronimo mail 1.1.1

2007-01-29 Thread Rick McGuire
Well, ok. You are creating your own mail session, but I really recommend you NOT use getDefaultInstance(). If something else in the JVM has done a getDefaultInstance() call, then you're going to end up with an instance with a different configuration than you expect. getInstance() will

Re: geronimo mail 1.1.1

2007-01-29 Thread Michael C.
I am working on getting you the exact string for the addRecipient call between other daily endeavors. Meanwhile, we changed our code to use the getInstance() and get the same authentication error. I reviewed the geronimo SMTPTransport class to see what is going on and found these constants:

Re: geronimo mail 1.1.1

2007-01-25 Thread Rick McGuire
The message about unable to relay for that address is sent back from the SMTP server. I'm not sure what it didn't like, but it appears it couldn't figure out where to relay the message. The part I find interesting is the stack trace. You're using the Sun javamail transport implementation,

Re: geronimo mail 1.1.1

2007-01-25 Thread Michael C.
Thank you for your replies, they are greatly appreciated. I would like to step back for a moment and be sure i understand the big picture. When our team first changed over from WSAD to MyEclipse and decided to use Geronimo 1.0 as our local app server, we ran into this same email problem. I

Re: geronimo mail 1.1.1

2007-01-25 Thread Michael C.
We removed all references to the sun mail.jar file in the geronimo classpath and i removed the GBEAN references from the geronimo email plan and left only the geronimo mail dependency jars. We undeployed the old plan and redeployed the new and ran the application. We recieved an error that i

Re: geronimo mail 1.1.1

2007-01-25 Thread Rick McGuire
Michael C. wrote: We removed all references to the sun mail.jar file in the geronimo classpath and i removed the GBEAN references from the geronimo email plan and left only the geronimo mail dependency jars. We undeployed the old plan and redeployed the new and ran the application. We recieved