locked
SMTP in Windows 7 RRS feed

  • Question

  • User-15025296 posted

    So I read posts on other sites that try to state that IIS does not contain SMTP in Windows 7.  Since I clearly can see the SMTP server, I know that is not correct and yet I cannot configure my SMTP server to accept localhost emails. I have the following options set:

    Email Address: Set to one of my email addresses

    Deliver email to SMTP server:  localhost (the use localhost checkbox is selected) - I also tried using 127.0.0.1

    Port: 25

    Authentication Settings: Not Required 

    My web.config is either:

    <smtp from="SAME EMAIL AS ABOVE">

                 <network host="127.0.0.1" password="" userName="" />

    </smtp>

    OR

    <smtp from="SAME EMAIL AS ABOVE">

                 <network host="localhost" password="" userName="" />

     

    </smtp>

    I keep getting the following error:

         No connection could be made because the target machine actively refused it 127.0.0.1:25

    I have no idea why - any ideas

    Friday, January 22, 2010 10:08 AM

Answers

  • User1452680134 posted

    plz refer tis:

    http://www.aspcode.net/Send-mail-from-ASPNET-using-your-gmail-account.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, January 23, 2010 3:02 AM
  • User1452680134 posted

    refer tis:

    http://updatepanel.wordpress.com/2009/01/04/no-connection-could-be-made-because-the-target-machine-actively-refused-it/

    http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/9558ae65-aae2-4b30-af9f-b4ba28da7d9a

    http://social.msdn.microsoft.com/Forums/en/webdevelopmentprerelease/thread/2de77fca-37a4-4870-8491-35a390484434

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, January 23, 2010 3:07 AM

All replies

  • User1452680134 posted

    plz refer tis:

    http://www.aspcode.net/Send-mail-from-ASPNET-using-your-gmail-account.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, January 23, 2010 3:02 AM
  • User1452680134 posted

    refer tis:

    http://updatepanel.wordpress.com/2009/01/04/no-connection-could-be-made-because-the-target-machine-actively-refused-it/

    http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/9558ae65-aae2-4b30-af9f-b4ba28da7d9a

    http://social.msdn.microsoft.com/Forums/en/webdevelopmentprerelease/thread/2de77fca-37a4-4870-8491-35a390484434

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, January 23, 2010 3:07 AM