I have a website that sends out email
The C# code to do this is:
var mailClient = new SmtpClient { DeliveryMethod = SmtpDeliveryMethod.Network, Host = "localhost", Port = 25 };
mailClient.Send(_mailMsg);
The code works fine as this website deployed on a Windows Server 2003 IIS6 works perfectly.
I have configured the SMTP service in IIS7 to deliver to localhost using port 25 and set authentication settings as not required.
Would anybody have any further assistance to help in being able to send emails with iis7 and windows server 2008?