Hi,

I am setting up mail properties using :

NormalizedMessage normalizedMsg = exch.createMessage();
normalizedMsg.setProperty("org.apache.servicemix.mail.to", "[email protected]");
normalizedMsg.setProperty("org.apache.servicemix.mail.subject", "Some
Subject");

But the mail message which I am receiving from SMTP server doesnt have
subject in it and even to field have "undisclosed-recipients:;" although
getting the mail at correct place. Please point me if I am doing something
wrong .... 

xbean config goes like this..

<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
      <property name="location" value="classpath:mail.properties" />
  </bean>
  <mail:sender service="canNotify:mailSenderService" 
             endpoint="mailEndpoint"
             sender="${sender.email}"
             connection="${smtp.host}"     
             
             debugMode="true" >  
  
   </mail:sender>     
 
  

-- 
View this message in context: 
http://www.nabble.com/Servicemix-mail-component-not-working-as-desired-tp24698042p24698042.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to