Exchange server actively refuses my connection

Posted by Roy on Stack Overflow See other posts from Stack Overflow or by Roy
Published on 2010-03-22T05:03:33Z Indexed on 2010/03/22 5:11 UTC
Read the original article Hit count: 329

Filed under:
|
|

I'm writing a ASP.NET application used within our company. Now I want to send emails to some users via a email account on our exchange server.

I tried to use System.Net.Mail.SmtpClient, where a proprietary account and password are given to specify the credentials. But the code failed with following exception: "No connection could be made because the target machine actively refused it"

Is that due to Exchange Server policies to prevent spam? How can I get it to work?

© Stack Overflow or respective owner

Related posts about exchange-server

Related posts about ASP.NET