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
366 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
as logs exchange 2010 7 22
Can't get access/ownership to folder 3 87
Searching good PDF to OCR 7 33
Undelete of overwritten files 25 41
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this video we show how to create a mailbox database 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 Servers >> Data…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

910 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

19 Experts available now in Live!

Get 1:1 Help Now