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

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Back
Top