Hi Mandar,

Just Follow step below if you using default smtp server on iis,
1. Go To Run - > inetmgr
2. Go To Properties of Default SMTP Server
3. Access Tab  - > Relay
4. Select All Except the list below
5. Ok and Apply

Hope this will help you.

Thanks and Regards

Vi$hal





On Thu, Apr 8, 2010 at 7:22 PM, KeidrickP <[email protected]> wrote:

> have you put the configuration settings in your web.config file for the
> SMTP server that you are using?
>
>
> On Mon, Apr 5, 2010 at 12:32 PM, Mandar Kulkarni <
> [email protected]> wrote:
>
>> Hello,
>>
>> I have written some code in ASP.NET <http://asp.net/> that sends an email
>> to the user
>> once he submits a form. I am using SmtpClient class for that and email
>> are routed using mail server at my university. The emails are going
>> through fine when I run the code from Visual Studio directly i.e. when
>> page is not hosted on IIS. But when I deploy the page on IIS, the form
>> just spins after submit and never comes back.
>>
>> Any clues what might be the problem?
>>
>> Thanks,
>> Mandar
>>
>>
>> --
>> To unsubscribe, reply using "remove me" as the subject.
>>
>
>
>
> --
> Keidrick Pettaway
>
> http://kpettaway.com
>

Reply via email to