Groups | Blog | Home
all groups > asp.net > november 2003 >

asp.net : Re: Re: Sending emails through Asp.net


Patrick Santry
11/21/2003 11:25:57 PM
I think the issue may be there is a mail server on another machine, and the
web server needs to be able to send mail using this SMTP gateway.

Yes you will need to enable relaying on the SMTP gateway in order for your
application to send mail to it, but most mail servers support restricting
relaying for an IP subnet, address or FQDN. IIS allows you to restrict relaying
for these criteria, by going to the properties of the Web server, then
SMTP.Your admin should know this, or you can most likely look through the
help files to figure it out.


[quoted text, click to view]
1.5218@news.get2net.dk>...

[quoted text, click to view]

------------------------------------------------------------------------------------
Posted from WWWCoder.com
The .Net Portal Developer's Resource Directory; http://www.wwwcoder.com
Extensive collection of original articles and resources on .Net development.
Thomas R
11/22/2003 12:47:22 AM
Patrick,

If in fact this is the case (mailserver on another machine), then this
machine should already be set up for allowing his webserver to relay, since
he has been using cdonts prior to changing to .Net! However, if cdonts was
using its default setup in the classic ASP solution, it would relay through
the built in localhost SMTP server on the webserver itself. That might
explain why it doesn't work now, when he's specifying a server, in which
case you are absolutely right! ;)

/thomas.

[quoted text, click to view]

AddThis Social Bookmark Button