Sending Mail via website

Discussion in 'ASP.NET 2.0' started by ecmatechnet, May 1, 2006.

  1. Hey All

    I'm creating a "Forgot Password" feature in my site, but I'm having trouble sending out theemail message that contains the forgotten password.

    The error message is:
    Mailbox name not allowed. The server response was: sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)

    I'm using my SMTP server that I got with my DiscountASP.NET domain.

    I think the problem is that I'm not allowed sending out to domains besides my own one.

    Does anyone know of an SMTP server that I can use to relay my messages?

    Thanks!!
     
  2. for secu. reason, DASP won't allow you to explicitly specify smtp server....yep...use 'localhost' for your smtp


    J. L.
    Technical Support/IT Admin/MIS Developer
    Maxtop Enterprises Inc.
    http://www.maxtop.ca</CODE>
     
  3. use 'localhost' for the smtp server.
     
  4. Has anyone successfully gotten an email to send as part of the completion of the createuserwizard control? I set the host to localhost in the web.config file and since I do that, it gets further (doesn't give me any error message), but the mail never seems to arrive. Has anyone had success with this?





    -Ben
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    Nope.. i have not tried that but it should work fine.


    Try create a support ticket, may be support can check the mail log.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  6. I figured it out. When I was testing, the email in the to matched the email in the CC, which it didn't seem to like.
    Thanks for your response...

    -Ben
     

Share This Page