Using System.Web.Mail without a relay server?

Discussion in 'ASP .Net' started by Jinsong Liu, Sep 10, 2004.

  1. Jinsong Liu

    Jinsong Liu Guest

    I need to using System.Web.Mail to send out notifications from my
    ASP.NET application. Based on what I know, a relay enabled SMTP server
    is required. Is there any way I can use a SMTP server which has relay
    disabled?

    thanks
     
    Jinsong Liu, Sep 10, 2004
    #1
    1. Advertisements

  2. Jinsong Liu

    Curt_C [MVP] Guest

    no...
    That's like saying I want to drive my car without the key....

    You need an accessible server to send the mail through. It can be the same
    box or any other accessible SMTP server. In order for the other server to
    accept the mail from your server and relay it out, it needs to have relaying
    allowed.

    --
    Curt Christianson
    Owner/Lead Developer, DF-Software
    Site: http://www.Darkfalz.com
    Blog: http://blog.Darkfalz.com


    "Jinsong Liu" <> wrote in message
    news:...
    >I need to using System.Web.Mail to send out notifications from my
    > ASP.NET application. Based on what I know, a relay enabled SMTP server
    > is required. Is there any way I can use a SMTP server which has relay
    > disabled?
    >
    > thanks
     
    Curt_C [MVP], Sep 10, 2004
    #2
    1. Advertisements

  3. Jinsong Liu

    Jinsong Liu Guest

    Maybe I did not make myself clear. I do have access to a SMTP server,
    but the relay is not allowed on that server.

    My guess is I can still send notification out if my message always
    originates from my SMTP server domain. (the from property set to a
    valid email address on my SMTP server), even my server does not allow
    relay. Am I correct?

    thanks


    On Fri, 10 Sep 2004 11:18:45 -0500, "Curt_C [MVP]"
    <software_AT_darkfalz.com> wrote:

    >no...
    >That's like saying I want to drive my car without the key....
    >
    >You need an accessible server to send the mail through. It can be the same
    >box or any other accessible SMTP server. In order for the other server to
    >accept the mail from your server and relay it out, it needs to have relaying
    >allowed.
     
    Jinsong Liu, Sep 10, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Thunell

    unable to relay with vb.net system.mail

    Chris Thunell, Dec 9, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    4,639
    Jeffrey Palermo [MCP]
    Dec 10, 2004
  2. =?Utf-8?B?Unlhbg==?=
    Replies:
    2
    Views:
    4,279
    Steven Cheng[MSFT]
    Feb 28, 2006
  3. Brad
    Replies:
    2
    Views:
    13,761
  4. =?Utf-8?B?QWxleCBNYWdoZW4=?=

    System.Net.Mail vs System.Web.Mail

    =?Utf-8?B?QWxleCBNYWdoZW4=?=, Jun 16, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    11,003
    Walter Wang [MSFT]
    Jun 16, 2006
  5. Nathan Sokalski
    Replies:
    5
    Views:
    1,165
    Spam Catcher
    Dec 12, 2006
  6. Frank
    Replies:
    10
    Views:
    1,126
    Juan T. Llibre
    Mar 29, 2007
  7. Lokesh

    Sending mail using System.web.mail

    Lokesh, Jan 27, 2006, in forum: ASP .Net Security
    Replies:
    1
    Views:
    271
    Li-fan Chen
    Feb 16, 2006
  8. Prashanth
    Replies:
    2
    Views:
    347
    Prashanth
    Aug 12, 2003
Loading...