1

Trying to Set up SMTP Server on WIndows Server 2012

view story
linux-howto

http://serverfault.com – I'm working on a website, and I need to test the functionality of sending email messages from ASP.NET, something like this: Dim msg As New MailMessage("email1", "email2") msg.Subject = "Subject" msg.IsBodyHtml = True msg.Body = "Click here." Dim client As SmtpClient = New SmtpClient() client.Host = "My-Server" client.Port = 25 client.DeliveryMethod = SmtpDeliveryMethod.Network client.Send(msg) This is running from a Windows 8 workstation. I've installed SMTP server on my Windows Server 2012 machine. The mail shows up in the mailroot/Queue folder and sits there, eventually getting deposit (HowTos)