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
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");
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
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.
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
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
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
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.
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
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).
10 matches
Mail list logo