Re: JavaMail Props Not Being Set

2006-06-30 Thread Chuck Hill
On Jun 30, 2006, at 5:11 AM, Drew Thoeni wrote: It appears the diagnosis is correct, it's not the code, it's that I am missing (or have a conflict between) mail.jar and/or activation.jar. Confirmed this using debugging and this code Transport transport = null; tran

Re: JavaMail Props Not Being Set

2006-06-30 Thread Drew Thoeni
It appears the diagnosis is correct, it's not the code, it's that I am missing (or have a conflict between) mail.jar and/or activation.jar. Confirmed this using debugging and this code Transport transport = null; transport = mailSession.getTransport("smtp");

Re: JavaMail Props Not Being Set

2006-06-29 Thread Alex Cone
at 11:51 PM, [EMAIL PROTECTED] wrote: From: Drew Thoeni <[EMAIL PROTECTED]> Subject: Re: JavaMail Props Not Being Set To: WebObjects Dev Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed So, I've tried the four suggestions: Paul

Re: JavaMail Props Not Being Set

2006-06-28 Thread Mike Schrag
For much less pain, see: http://en.wikibooks.org/wiki/Programming:WebObjects/Project_WONDER/Frameworks/ERJavaMailOn Jun 28, 2006, at 11:41 PM, Art Isbell wrote:JavaMail is complex.  I understand only the bare minimum that allowed me to build a replacement for WOMailDelivery which can be unreliable.

Re: JavaMail Props Not Being Set

2006-06-28 Thread Chuck Hill
On Jun 28, 2006, at 8:41 PM, Art Isbell wrote: On Jun 28, 2006, at 4:55 PM, Drew Thoeni wrote: So, I've tried the four suggestions: Paul's "put in properties file": no effect. This works for me. I added the following properties to my Properties file: # JavaMail mail.store.protocol=sm

Re: JavaMail Props Not Being Set

2006-06-28 Thread Art Isbell
On Jun 28, 2006, at 4:55 PM, Drew Thoeni wrote: So, I've tried the four suggestions: Paul's "put in properties file": no effect. This works for me. I added the following properties to my Properties file: # JavaMail mail.store.protocol=smtp mail.transport.protocol=smtp mail.smtp.host=xxx

Re: JavaMail Props Not Being Set

2006-06-28 Thread Drew Thoeni
So, I've tried the four suggestions: Paul's "put in properties file": no effect. Paul's "forgot to set properties": no effect Mike's "wrong classpath": if I checked the right thing, that is mail.jar and activation.jar in /Library/Java/Extensions: no effect Henrique's "force setting of property

Re: JavaMail Props Not Being Set

2006-06-26 Thread Henrique Prange
Drew, Don't know why, but I have this same error when I only set these values on Properties file. The solution that I found was calling the following method on Application's class constructor and force SMTP host assignment: setSMTPHost( System.getProperty( "WOSMTPHost" ) ); Hope this help.

Re: JavaMail Props Not Being Set

2006-06-26 Thread Mike Schrag
You might want to check your classpath, too ... That it's saying there's no SMTP provider sounds like you might have the javamail API jar file in your classpath, but not the reference implementation jar files that actually include the SMTP implementation code? ms On Jun 26, 2006, at 3:39 P

Re: JavaMail Props Not Being Set

2006-06-26 Thread Paul Suh
On Jun 26, 2006, at 7:26 AM, Drew Thoeni wrote: I am trying to set the SMTP host for JavaMail. I have attempted set the properties in the Application, in the component, and in Resources->Properties. None of these approaches seems to get the props set (per exception at the end of this email).