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
370 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

 
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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Determining the an SCCM package name from the Package ID
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decadeā€¦

734 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