Using System.Web.Mail without a relay server?

  • Thread starter Thread starter Jinsong Liu
  • Start date Start date
J

Jinsong Liu

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
 
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.
 
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
 
Back
Top