Same SA is working fine with standalone ServiceMix but with JBoss its giving the problem of not having Subject and To in the mail, can someone please guide me how to rectify it.
AnandG wrote: > > servicemix-mail-2009.01 > > > lhein wrote: >> >> I would also like to know which version of servicemix-mail you are using. >> >> Lars >> >> >> 2009/7/28 AnandG <[email protected]>: >>> >>> 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-tp24698040p24698040.html >>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> http://lhein.blogspot.com >> >> >> ----- >> Regards >> Lars >> >> >> http://lhein.blogspot.com >> >> > > -- View this message in context: http://www.nabble.com/Servicemix-mail-component-not-working-as-desired-tp24698040p24701824.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
