iis smtp nntp:
Hi,
We have just upgraded our ASP.NET application from framework version 1.1 to
2.0 running on Windows Server 2003. Everything seems to be working fine
except email notifications. The way we upgraded was that we created a new
folder for the application on the web server and stopped the website and
pointed it to the new folder. We also set the framework to 2.0.
Even though all the settings of the local smtp server seem to be correct,
I'm getting the following error from the simple test SMTP page we have
created for email testing purposes.
Unable to send to all recipients.
Mailbox unavailable. The server response was: 5.7.1 Unable to relay for
myYahooAddress@yahoo.com
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender,
MailAddressCollection recipients, String deliveryNotify,
SmtpFailedRecipientException& exception) at
System.Net.Mail.SmtpClient.Send(MailMessage message) at
iBIS_NET.testmail.Page_Load(Object sender, EventArgs e)
System
By the way, I get the same error if I try to send an email to an internal
email address. So it's not an issue with sending emails outside of the domain.
Also when I telnet into the web server to send an email using SMTP commands,
I get Unable to Relay message. This clearly seems to be an SMTP server
configuration issue rather than ASP.NET code issue but I'm hoping that
someone else had a similar experience and hopefully can give me some pointers
here. Obviously, everything was working perfectly before the upgrade and we
changed none of the settings on the web site in IIS or the network itself.
The only thing changed is the new upgraded code and its new folder on the
server.