Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 455
  • Last Modified:

How to send email from asp.net application on loclhost

I have a windows server on my home network. It is not configured with any roles for domain controller or active directory. Its main function is to simulate the development / deployment of web applications.

the server is not public facing, it is only accessible from inside my home network.

I would like to test the sending of email from asp.net, but am not sure how to do it from inside my home network. I understand that i will need to relay the emails i send from asp.net through an exchange server [or something like that]...

which leads me to my question:

Do I need to install exchange on the home server in order to send email from the web apps i am testing?
If so, is it possible to install exchange on a server that is not configured as a domain contoller or that does not contain any active directory components. In other words, it would be my intention to only use exchange for the purpose of relaying the emails i send from the web apps i am testing.

Or is it possible to send the emails from the web apps WITHOUT having to install exchange?
If so, how would I do that? Would i need to set up an email account through some other host, like GoDaddy, for example?

Thank you,
Jason
0
jsvb1977
Asked:
jsvb1977
  • 2
2 Solutions
 
knorcCommented:
You will need to have a mail server of some kind setup. This could be exchange server, or there are several free SMTP programs out there.
0
 
jsvb1977Author Commented:
knorc,

do you know if it's possible to install exchange on a server/network that does not have a domain controller or active directory configured?

and thanks for the prompt reply up above.
Jason
0
 
SAMIR BHOGAYTAFreelancer and IT ConsultantCommented:
Hi, you have to visit the following link

http://www.developer.com/article.php/3096831
0
 
jsvb1977Author Commented:
Thank you both -- looks like gmail allows for the sending of email via smtp -- if you have your own account.

Here is a link that describes the process of sending email through gmail:
http://kb.siteground.com/article/How_to_use_Googles_free_SMTP_server.html

and here is a link to a site which offers a free smtp client that can be installed in windows:
http://www.softstack.com/freesmtp.html
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows PowershellĀ® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now