Try changing applicationContext-service.xml to have:
<bean id="mailSender"
class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="${mail.host}"/>
<property name="username" value="${mail.username}"/>
<property name="password" value="${mail.password}"/>
<property name="javaMailProperties">
<value>
mail.smtp.auth=true
</value>
</property>
</bean>
Instead of:
<bean id="mailSender"
class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="${mail.host}"/>
<property name="username" value="${mail.username}"/>
<property name="password" value="${mail.password}"/>
</bean>
Please let us know if this solves your problem.
Matt
On 12/2/06, orodsem <[EMAIL PROTECTED]> wrote:
Hi all,
I have set host, username, password and port of
org.springframework.mail.javamail.JavaMailSenderImpl, but when I want to
send email to an email I got
nested exception is:
class com.sun.mail.smtp.SMTPAddressFailedException: 550 authentication
required
I am sure my username, password and host name are correct.
could you please help me?
Regards,
Orod Semsarzadeh
--
View this message in context:
http://www.nabble.com/sending-e-mail-problem.-tf2743018s2369.html#a7653384
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]