Steve Schofield Weblog

Windows Server MVP - IIS

News




Subscribe with Bloglines

Blogs

Hosting Needs

Misc components

Misc Links

IIS7 - post #23 - Vista and SMTP server. Where is it?

Where is my SMTP server on Vista?  I'm not sure why more developers haven't asked this question. 
Simple, it is not included - http://blogs.iis.net/bills/archive/2006/09/18/IIS7-_2D00_-Vista-vs.-Longhorn-Server.aspx

Here are a couple I've used on Vista Ultimate.   I'm sure there are others but for testing, SMTP is additional 'feature' you'll need to add, at this point. 

Free SMTP Server (This is handy, runs as an app and simple to configure for testing your apps).
http://softstack.com/freesmtp.html

Smartermail - Free for one domain.
http://www.smartertools.com/Products/SmarterMail/Free.aspx

Steve Schofield
Microsoft MVP - IIS

**************************************

Some additional testing. 
In IIS7 SMTP properties, if you put a smarthost or server that allows relaying.  This will work too for testing.  Then you won't have to install anything on Vista.

Here is the code I used to send email to a smarthost on Vista.

        'create the mail message
        Dim mail As New System.Net.Mail.MailMessage()

        'set the addresses
        mail.From = New Net.Mail.MailAddress("me@mycompany.com")
        mail.To.Add("Steve@ChangeThisToSomething.com")

        'set the content
        mail.Subject = "This is an email"
        mail.Body = "this is a sample body"

        'send the message
        Dim smtp As New Net.Mail.SmtpClient()
        smtp.Send(mail)

Here is the picture of my settings on Vista to send email to a remote relay.

 

Posted: Dec 19 2006, 10:46 PM by steve schofield | with 4 comment(s)
Filed under: ,

Comments

Aaron Seet said:

Free SMTP Server looks like a standard Windows program; guess there's no option to run it as a service.

# June 11, 2007 4:23 AM

Steve Schofield Weblog said:

A common question that comes up in the newsgroups is how to setup your local machine to relay email.

# August 15, 2007 4:51 AM

Diamondz said:

I've found this application which is free, mini-Relay, http://www.netvicious.com/ which I've been using as my replacement to the missing SMTP server.

(The site is in Spanish, but the app is English, scroll to the bottom of the page and download).

# August 20, 2007 7:56 AM