J
J.Marsch
I am trying to programmatically send an email via Exchange Server (using
System.Web.Mail right now, but open to CDO). I'm running into the "unable
to relay" error when sending to a non-local email address (local "to"
addresses work just fine)
I would like to know how we need to configure the exchange server to pass
this type of email. The email would always originate from an internal IP
address, but it might go to an external destination.
I've done some googling around, but most of the solutions posted are
applicable to sending mail from an IIS SMTP server, and that's not really
what we're after.
I _think_ that what we want to do is to configure the SMTP service on the
Exchange Server such that it will relay email if the request originates from
an internal IP address. (I'm thinking that would keep the server "closed"
from being used as a SPAM relay).
First, I would like to know if I'm on the right track here. Second, if I
am, I would love to know how to configure the Exchange server to do this
(and still remain secure to the outside world). The natural answer would be
"ask your exchange admin", but he doesn't work here anymore, and I'm afraid
that we can't wait on a hire for this answer. Any good advice?
System.Web.Mail right now, but open to CDO). I'm running into the "unable
to relay" error when sending to a non-local email address (local "to"
addresses work just fine)
I would like to know how we need to configure the exchange server to pass
this type of email. The email would always originate from an internal IP
address, but it might go to an external destination.
I've done some googling around, but most of the solutions posted are
applicable to sending mail from an IIS SMTP server, and that's not really
what we're after.
I _think_ that what we want to do is to configure the SMTP service on the
Exchange Server such that it will relay email if the request originates from
an internal IP address. (I'm thinking that would keep the server "closed"
from being used as a SPAM relay).
First, I would like to know if I'm on the right track here. Second, if I
am, I would love to know how to configure the Exchange server to do this
(and still remain secure to the outside world). The natural answer would be
"ask your exchange admin", but he doesn't work here anymore, and I'm afraid
that we can't wait on a hire for this answer. Any good advice?