This is rather strange.  There should be a mail_1_2.jar in the lib directory
that's about 275kb.  In there, there should be 3 classes in the
com.sun.mail.smtp package.

Maybe it's finding a different mail.jar first in your classpath (do you have
a stripped version somewhere else in your classpath that's defined before
you start James?)

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Ushakov, Sergey N" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 10:19 PM
Subject: Exception: No provider for smtp


> Hi,
>
> My second problem is with outgoing mail.
>
> If the recipient is in the outer world, the message is not sent and an
> exception occurs (see below).
>
> I use dial-up Internet connection. ISP connection was already established
> (and the same) at the moments of James startup and mail processing.
>
> What may be wrong or missing?
>
> Regards,
> Sergey Ushakov
>
>
> Quotation from mailet.log:
>
> 2001.08.29 09:50:15 540 (INFO) from Mailets: ToProcessor: Sending mail
> org.apache.james.core.MailImpl@6e4648 to transport
> 2001.08.29 09:50:15 610 (INFO) from Mailets: RemoteDelivery: Remotely
> delivering mail Mail999049813517-0-!965622694
> 2001.08.29 09:50:15 640 (INFO) from Mailets: RemoteDelivery: sending mail
to
> [[EMAIL PROTECTED]] on yahoo.com
> 2001.08.29 09:50:15 670 (INFO) from Mailets: RemoteDelivery: Remote
delivery
> thread (0) will process mail Mail999049813517-0-!965622694-to-yahoo.com
> 2001.08.29 09:50:15 680 (INFO) from Mailets: RemoteDelivery: attempting to
> deliver Mail999049813517-0-!965622694-to-yahoo.com
> 2001.08.29 09:50:16 512 (INFO) from Mailets: RemoteDelivery: attempting
> delivery of Mail999049813517-0-!965622694-to-yahoo.com to host yahoo.com
> 2001.08.29 09:50:16 542 (INFO) from Mailets: RemoteDelivery: Exception
> caught in RemoteDelivery.deliver() : javax.mail.NoSuchProviderException:
No
> provider for smtp
> 2001.08.29 09:50:16 542 (INFO) from Mailets: RemoteDelivery: Exception
> delivering mail (Mail999049813517-0-!965622694-to-yahoo.com:
> javax.mail.NoSuchProviderException: No provider for smtp
>  at javax.mail.Session.getProvider(Session.java:289)
>  at javax.mail.Session.getTransport(Session.java:483)
>  at
>
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.jav
> a:126)
>  at
>
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:27
> 4)
>  at java.lang.Thread.run(Thread.java:484)
>
> 2001.08.29 09:50:16 542 (INFO) from Mailets: RemoteDelivery: Storing
message
> Mail999049813517-0-!965622694-to-yahoo.com0 into outgoing after 0 retries
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to