Hi, all,

I try to configure SMTP server to send mail with  password hint e-mailed ,
but get the error:
Could not connect to SMTP host: smtp.sina.com, port: 25, response: -1
The same configuration in Outlook works well.

In the mail.properties:
mail.default.from=xx xxx<[EMAIL PROTECTED]>
mail.debug=true
mail.transport.protocol=smtp
mail.host=smtp.sina.com
mail.username=xxxxxxx
mail.password=*****

And the mail.smtp.auth=true also have been uncommented from
applicationContext-service.xml:

    <bean id="mailSender"
class="org.springframework.mail.javamail.JavaMailSenderImpl">
        <property name="host" value="smtp.sina.com"/>
 
        <property name="username" value="xxxxxx"/>
        <property name="password" value="*****"/>
        <property name="javaMailProperties">
            <value>
                mail.smtp.auth=true
            </value>
        </property>
    </bean>

I also tried James, it is said send mail successfully. But I cannot receive
the mail. Is there anything I miss to send mail? Thanks.

Best regards,
Ke CAI
-- 
View this message in context: 
http://www.nabble.com/Send-Mail-error-tp14663147s2369p14663147.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to