The remote name could not be resolved: 'smtp.163.com' ?

G

Guest

hi,

I'm developing a web app with asp.net 2.0 and using PasswordRecovery
control to allow users to get their password back. My mailSetting is like
this:

<system.net>
<mailSettings>
<smtp from="(e-mail address removed)">
<network host="smtp.163.com" password="xxxx" userName="xxxx" />
</smtp>
</mailSettings>
</system.net>

it's working when i run it in Visual Studio. But when i deploy it in a IIS
server, it doesn't work, getting a error of "The remote name could not be
resolved: 'smtp.163.com'?".
What's wrong? Is my setting not correct?

Thanks
-Zhilin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top