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
373 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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

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