Notices

Great community. Great ideas.

Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: E-mail from website not working

Results 1 to 2 of 2
Share This Thread →
  1. #1
    captain15 is offline Registered User
    Join Date
    Jul 2012
    Posts
    16
    Rep Power
    0

    E-mail from website not working

    I have setup my website to be able to send people their passwords if they forget them. It is currently not working. Here is my code:

    <asp:PasswordRecovery id="PasswordRecovery1" runat="server">
    <MailDefinition Subject="Your Password"></MailDefinition>
    </asp:PasswordRecovery>

    And here is what is in my webconfig:

    <system.net>
    <mailSettings>
    <smtp deliveryMethod="Network" from="xxx@xxx.com">
    <network host="mail.xxx.com" />
    </smtp>
    </mailSettings>
    </system.net>

    Can someone help me with this?

    Thanks,


    Dave

  2. #2
    captain15 is offline Registered User
    Join Date
    Jul 2012
    Posts
    16
    Rep Power
    0
    Okay. I got this fixed. It turned out I was using the wrong network host. As soon as I changed that everything worked just fine.

Share This Thread →

Become Part of This Conversation

Join NowFor Free!

Similar Threads

  1. Website Slider (Not working in IE)
    By Lightswitch in forum HTML, JavaScript And CSS Help
    Replies: 0
    Last Post: September 17th, 2012, 11:58 AM
  2. ASP Newb - Need Help with ASP form-to-mail for website?
    By cotinc in forum .NET Development
    Replies: 6
    Last Post: December 21st, 2006, 06:05 PM
  3. Sending Mail code on website not working
    By jfalberg in forum ASP Development
    Replies: 14
    Last Post: July 21st, 2005, 09:30 AM
  4. ASP Mail not working
    By gates150 in forum ASP Development
    Replies: 2
    Last Post: July 13th, 2004, 10:32 PM
  5. How is my website working?
    By ShaneClark in forum Microsoft IIS
    Replies: 2
    Last Post: April 15th, 2004, 12:50 AM

ASP Free Advertisers and Affiliates