Re: How to set up SMTP server on "local" XP Pro machine?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Chris Austin (caustin_at_austinspad.com)
Date: 10/31/04


Date: Sun, 31 Oct 2004 11:26:26 -0700

Kikoz,

Unless otherwise installed differently, by default the "Default SMTP Virutal
Server" should be setup on your development XP box. You can find it if you
go into "Computer Management" under Services and Applications -> INternet
Information Services -> Default SMTP Virtual Server

You might have to right click on "Default SMTP Virtual Server" select
"Properties", then the "Access" tab. Click on the "Relay..." button and
change the selection to "All except the list below"

Also, I am assuming that your dev box is behind a firewall so that way you
don't put a box on the network that will relay to any e-mail address from
any e-mail address.

Then to send you message just using code like:

SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(fromAddress, toAddress, subject, message);

HTH

-Chris
~
http://weblogs.austinspad.com/caustin

"Kikoz" <kikoz@hotmail.com> wrote in message
news:ecWh9D3vEHA.1300@TK2MSFTNGP14.phx.gbl...
> Hi all.
>
> I'm using one PC/XP Pro as my development environment. Its IIS has one
> default web site, of course, which is the site I'm working on. When some
> feature is finished I deploy it to my "production" site which is hosted
> somewhere else. Very common situation, I guess.
> This app uses email to notify customers of some particular events. Works
> on production, but sometimes I need to change something in the way those
> notifications work. Currently I have to upload the changes to "production"
> to check it out. Is there any way for me to set up smtp server on my local
> machine so I could work locally with those features? I suppose it's a
> silly question but I wasn't able to figure it out by myself :)
>
> Articles/sites with instructions?
>
> Any help would be greatly appreciated!!
> Kikoz.
>



Relevant Pages

  • RE: Exchange IMF Logging
    ... you can enable the SMTP logging on the virtual ... server and check the RBL log files. ... To Configure Recipient Filtering ... emails) on the SMTP virtual server, e-mail messages that are received from ...
    (microsoft.public.windows.server.sbs)
  • Re: Change From Smarthost to DNS. Changes dont take effect.
    ... Enable SMTP logging and gather SMTP log to troubleshoot the issue: ... G. Right-click Default SMTP Virtual Server and click Stop. ... using POP3 Connector Mail & Smarthost to Exchange SMTP Mail. ...
    (microsoft.public.windows.server.sbs)
  • Re: Change From Smarthost to DNS. Changes dont take effect.
    ... Enable SMTP logging and gather SMTP log to troubleshoot the issue: ... G. Right-click Default SMTP Virtual Server and click Stop. ... using POP3 Connector Mail & Smarthost to Exchange SMTP Mail. ...
    (microsoft.public.windows.server.sbs)
  • RE: SMTP Server remote queue length alert
    ... Thank you for posting in the SBS newsgroup. ... automatically creates a SMTP connector for outgoing messages. ... bridgehead defines the Exchange server which can use this SMTP connector to ... What method is used to send outgoing email (DNS route or ISP ...
    (microsoft.public.windows.server.sbs)
  • RE: Exchange, BadMail Folder
    ... always growing after you have removed files from folder and unplug server ... Furthermore,Please refer to the following KB article to clean up the SMTP ... click SmallBusiness SMTP Connector under ... them in a single queue for the SmallBusiness SMTP Connector or for the one ...
    (microsoft.public.windows.server.sbs)