473,385 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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.
Nov 18 '05 #1
2 9908
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" <ki***@hotmail.com> wrote in message
news:ec**************@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.

Nov 18 '05 #2
Thanks man.
"Chris Austin" <ca*****@austinspad.com> wrote in message
news:eq**************@TK2MSFTNGP14.phx.gbl...
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" <ki***@hotmail.com> wrote in message
news:ec**************@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.


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Somedude | last post by:
Hello, I am building a small page to copy files from our server(s) to our users local machines. It's very simple... (below, "f" is a mapped network drive) <?php $source_file =...
4
by: oceanhai | last post by:
We currently have a PPTP connection set up for our developers to access our development SQL server through a VPN tunnel. When they need to copy tables up to the dev SQL from their local machine...
2
by: len | last post by:
I am in a situation where I need to get a copy of test database that is on production server running MSSQL 2000 Standard to my local machine running MSSQL 2000 personel. I tried to use the copy...
6
by: Jim H | last post by:
I have an app I working on that was working fine a few days ago. Now I get a jscript error: Microsoft JScript runtime error: Object expected in a part of the code that has not been modifed or...
3
by: Robin Tucker | last post by:
I'm fetching a list of SQL servers on a domain using a function that returns strings, including "(local)" for the local machine (if it has an SQL server on it). Now, presumably in a different...
3
by: Robin Tucker | last post by:
Should I consider this to work in other locales? If theServer.Name <> "(local)" and theServer.Name <> "(localhost)" Then ' Can only use local machine in this version..... End If
2
by: Jennyfer Barco | last post by:
Hello I have a .NET project and I need to save a file with some data the user selects. If I use the command FileOpen it will save the file in the server and not in the local machine where I'm...
2
by: adam | last post by:
Hi ASP Expert, My goal is to retrieve my local machine's %USERNAME% environment variable from ASP page. When I enter http://RemoteServerName/testusername.asp?id=%USERNAME% directly into the IE...
2
by: | last post by:
I want to send email without Smtp Server. We have a Imail Server installed on our web server which requires Smtp server is not working on it. When i disable Smtp Server on the local machine Cdo...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.