Solved

How to send email from asp.net application on loclhost

Posted on 2011-02-13
4
435 Views
Last Modified: 2012-05-11
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
Comment
Question by:jsvb1977
  • 2
4 Comments
 

Accepted Solution

by:
knorc earned 250 total points
ID: 34885182
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
 

Author Comment

by:jsvb1977
ID: 34885187
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
 
LVL 11

Assisted Solution

by:SAMIR BHOGAYTA
SAMIR BHOGAYTA earned 250 total points
ID: 34886187
Hi, you have to visit the following link

http://www.developer.com/article.php/3096831
0
 

Author Closing Comment

by:jsvb1977
ID: 34887239
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
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…
This video discusses moving either the default database or any database to a new volume.

777 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