uploaded web...mail doesn't work

Last post 06-09-2009 3:22 PM by lionkingpuppy. 3 replies.

Sort Posts:

  • uploaded web...mail doesn't work

    05-21-2009, 10:40 PM
    • Member
      55 point Member
    • RaeKC
    • Member since 11-28-2008, 10:52 PM
    • Posts 338

    Hi:

    I just uploaded to a new web host and have set up my mail. When I try to send mail on my web, I get that little red message that there was a problem sending your mail..

    Where do I look for this problem. ?

    thanks,

    RAchel

  • Re: uploaded web...mail doesn't work

    05-22-2009, 12:54 AM
    • All-Star
      25,515 point All-Star
    • qwe123kids
    • Member since 03-27-2008, 5:49 AM
    • Mumbai
    • Posts 4,366

     Hi,

    If Ur sending Mail from Shared Host Then ..Contatct Host..

    Or

    Other wise Remove The Try and Ctach From Your Application Check for Apllication  error...

    Thanks
    Avinash Tiwari

    Remember to click “Mark as Answer” on the post, if it helps you.

    MY Blog

    Hacking Inside .net exe
  • Re: uploaded web...mail doesn't work

    05-22-2009, 1:32 PM
    Answer
    • Member
      55 point Member
    • RaeKC
    • Member since 11-28-2008, 10:52 PM
    • Posts 338

    Hi:

    Thanks for your response.

    I Got it fixed. My original code was:


    <smtp deliveryMethod="PickupDirectoryFromIis" from="mail@MyWebSite.com">
                    <network defaultCredentials="true" host="(localhost)" port="25"/>
                </smtp>
     
    The correct format for the host's servers is as follows:
     
                <smtp from="mail@MyWebSite.com">
                    <network host="127.0.0.1" port="8025"/>
                </smtp>


    Then, after making that change in the webconfig file,  it still wouldn't work until the Microsoft SMTP service component on there server was restarted.

    Thanks,

    Rachel

  • Re: uploaded web...mail doesn't work

    06-09-2009, 3:22 PM

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

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8025

     

    The error after changing the code as your

Page 1 of 1 (4 items)