in

ASP.NET Weblogs

Dave Burke - A freelance .NET Developer specializing in Online Communities

A freelance .NET Developer

Why can't IIS SMTP services "just work???"

I swear.  On every Windows Server on every network, I encounter a different weird-ass SMTP issue.  I understand you have authentication, connection, relaying, and routing issues with SMTP that can involve more than the IIS server itself, but it baffles me why every smtp setup is a brand new mystery to solve.  Why can't IIS SMTP services “just work???“

I've setup SMTP on so many servers and today I get a new error I've never seen before:  “The "SendUsing" Configuration Value is Invalid.”

At least a new error made things interesting.  And in the SmtpMail.SmtpServer property is where the mystery always magnifies itself.  I always used to enter the name of the local Exchange server for this value, and SMTP email would work.  Then it stopped working one day, I forget when.  Then I entered SmtpMail.SmtpServer = “”, which made things work again.  But today I use that setting but get nailed with a 550 5.7.1 relay error on external addresses.

SO, HOW IT WORKS TODAY, ON THIS PARTICULAR SERVER, ON THIS PARTICULAR NETWORK, AT THIS PARTICULAR PHASE OF THE FRIGGEN' MOON, is SmtpMail.SmtpServer = “127.0.0.1”, making sure to add 127.0.0.1 as authorized to connect to the SMTP services, as in shown on the IIS SMTP config box below.


Published Feb 24 2004, 12:02 AM by daveburke
Filed under:

Comments

 

TrackBack said:

February 24, 2004 12:27 AM
 

stefan demetz said:

Security by default??
February 24, 2004 5:26 AM
 

Dave Burke said:

Stefan, I don't know exactly what you mean, unless its the same reason why things are more difficult setting up in W2K3 IIS than on W2K. I have no problem with security when logically enforced; I question the fluctuating bar required to get SMTP to work in any particular environment. If there is a documented single method of configuring SMTP services, I haven't seen it.
February 24, 2004 7:35 AM
 

ajay said:

smtpserver not work

August 3, 2007 2:52 AM

Leave a Comment

(required)  
(optional)
(required)  
Add