Solved

How do I set up my Windows 7 machine so I can send emails from a locally installed mail server for development purposes?

Posted on 2014-03-19
6
365 Views
Last Modified: 2014-03-21
Hi:

I have a Windows 7 Professional machine (IIS7).
For development/testing purposes, I would like to set up this machine to
send email from my .Net based applications.

I've done some googling, but am still pretty unclear as how to set this up locally.

Do I need to download/install email server locally on my machine or do I have
everything I need but need to set stuff up through IIS 7?

First time out of the gates trying this, so I apologize if the question/answer seems obvious.

Thanks,
JohnB
0
Comment
Question by:jxbma
6 Comments
 
LVL 9

Expert Comment

by:tsaico
ID: 39940042
Generally yes, you will need to set up something to handle the mail traffic to and from and open the appropriate ports on your workstation's software firewall

http://www.smartertools.com/smartermail/mail-server-software.aspx

is a free one or if you would rather the even simpler MS route for Win 7 pro

http://geekswithblogs.net/ferdous/archive/2011/03/15/smtp-setup-for-windows-7.aspx gives you links to install the stuff, then there is a link in the article on how to configure it.
0
 
LVL 11

Assisted Solution

by:itguy565
itguy565 earned 200 total points
ID: 39940114
Setup an smtp relay on your box then point it to your exchange server.

http://www.softstack.com/freesmtp.html
0
 
LVL 33

Assisted Solution

by:Dave Howe
Dave Howe earned 100 total points
ID: 39940135
you shouldn't really need anything special to set up for that - you need a mail server to send to, but you probably have one of those already (if not, get a free google account :)

if you *want* a local mailserver for test purposes of course, that's different :)
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 9

Accepted Solution

by:
tsaico earned 200 total points
ID: 39942447
If he gets an actual SMTP server, then he do either direction for testing purposes.  Also, another problem with a google account is he would have to make his .Net application be able to sign in, connect, then send, adding complexity and also slowing down the development of his application for something that is most likely not it's focus.  With an internal server he can skip that part for now.  Also, with a gmail, the sending account will be displayed, and to keep thing professional, he may want it to be labeled as "him@hisdomain.com".

And end route, depending on what this application will do, a free gmail account might end up with too many limitations such as how many emails can be sent in a day.

He is better doing the relay route as itguy (though if he had an exchange server, he can turn on relay for this purpose) or my suggestion.
0
 
LVL 33

Expert Comment

by:Dave Howe
ID: 39943089
Yup. however, in the real world, usually an app that you write that needs mail capabilities is going to have to be able to log into and send via some arbitary mail target, so it makes sense to code it that way originally.

earlier versions of IIS allowed you to just drop mails into an arbitrary directory and have the IIS engine send them - which was convenient, but is now depreciated (sadly; I found it quite handy :)
0
 
LVL 1

Author Closing Comment

by:jxbma
ID: 39945411
Thanks for the excellent feedback folks!

JB
0

Featured Post

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now