How to send email from asp.net application on loclhost
Posted on 2011-02-13
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?