Sending email from a webpage

Discussion in 'ASP.NET / ASP.NET Core' started by websteadyco, Feb 17, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello, I am to build a Tell a Friend type script and I wanted to use asp.net. But I get an error, that says 553 sorry, that domain isn?t in my list of allowed rcpthosts. Now i've read the FAQ's and understand that you use POP before SMTP, but how am I supposed to send and email to someone that is not in my domain? Do I have to use a remote mail server?

    Thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You do not need to set the SMTP server if you are using the .net mail object.

    It will default to the local server (which then smarthost to the main mail server)

    quote:Originally posted by websteadyco

    Hello, I am to build a Tell a Friend type script and I wanted to use asp.net. But I get an error, that says 553 sorry, that domain isn?t in my list of allowed rcpthosts. Now i've read the FAQ's and understand that you use POP before SMTP, but how am I supposed to send and email to someone that is not in my domain? Do I have to use a remote mail server?

    Thanks
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page