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
367 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DHCP lease duration / Migration 8 53
Lot of troubles with windows 10 7 53
Group policy to delete files in folder 3 40
windows 7 starter missing password 21 77
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…
Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
To show how to generate a certificate request 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 >> Certificates…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

773 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