My config in the JBI component:

<property name="sender">
- <bean class="org.springframework.mail.javamail.JavaMailSenderImpl">
  <property name="host" value="localhost" /> 
  <property name="port" value="25" /> 
  </bean>
</property>

SMTP Server is running:

>telnet localhost 25
220 w10210 SMTP Server (JAMES SMTP Server 2.2.0) ready Wed, 4 Oct 2006
17:03:45 +0200 (CEST)



mart wrote:
> 
> some people around me know log4j better
> 
> here is the error:
> 
>  error: org.springframework.mail.MailSendException: Mail server connection
> failed; nested exception is javax.mail.NoSuchProviderException: Unable to
> locate provider for protocol: smtp
> ]
> DEBUG - DeliveryChannelImpl            - Processing inbound exchange:
> InOnly[
>   id: ID:w10210-3154-1159972390024-19:0
>   status: Error
>   role: consumer
>   service: {http://servicemix.org/cheese}myTracerdefault
>   endpoint: myTracerdefault
>   in: <?xml version="1.0" encoding="UTF-8"?><identite>
> <nom>foo</nom>
> <prenom>foo</prenom>
> </identite>
>   error: org.springframework.mail.MailSendException: Mail server
> connection failed; nested exception is javax.mail.NoSuchProviderException:
> Unable to
> locate provider for protocol: smtp
> ]
> 
> 
> mart wrote:
>> 
>> There?   Sorry  I am new to log4j as well :(
>> 
>>  <logger name="org.apache.servicemix">
>>         <!-- To enable debug logging, replace the INFO by DEBUG -->
>>         <level value="DEBUG"/>
>>     </logger>
>> 
>> I switched, I see more info displayed (with the INFO - header) but
>> nothing about my mail.
>> 
>> like this:
>> 
>> INFO  - JBIContainer                   - Activating component for:
>> [container=ServiceMix,name=servicemix-lwcontainer] with service: null
>> component: or
>> [EMAIL PROTECTED]
>> 
>> (with service ... is new)
>> 
>> may I try something else?
>> 
>> thanks
>> 
>> 
>> gnodet wrote:
>>> 
>>> Could you try setting the log level to DEBUG in conf/log4j.xml
>>> and see if something interesting is logged ?
>>> 
>>> On 10/4/06, mart <[EMAIL PROTECTED]> wrote:
>>>>
>>>> Hello,
>>>>
>>>> little by little I am setting up my first flow: FTP => Mail , with a
>>>> tracing
>>>> component to display the message. I use CIMERO for that.
>>>>
>>>> FTP connection is ok as well as the message display. Problem is I don't
>>>> get
>>>> the mail with the document. No error. I just see nothing on the client
>>>> side
>>>> (sm) nor on the server side (James, which works since I can
>>>> send/receive
>>>> mail from thunderbird using it as smtp/pop3). I can't analyse the
>>>> network
>>>> traffic since i'm running on windows and I have no way to see the
>>>> packets
>>>> going from localhost to localhost.
>>>>
>>>> Thanks for help
>>>>
>>>> martin.
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Mail-doesn%27t-work%21--tf2382300.html#a6639447
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>> 
>>> 
>>> -- 
>>> Cheers,
>>> Guillaume Nodet
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Mail-doesn%27t-work%21--tf2382300.html#a6641386
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to