yes, same SMTP server being used on both boxes
yes, same SMTP setup for both ME and IIS...ie all checkboxes are the same!
not using Exchange at all
authentication is the plain jane MailEnablePro integrated authentication
again on both servers....
script is as follows (without message text which is immaterial) --
=========================================
<!--
METADATA
TYPE="typelib"
UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library"
-->
Set oMail = Server.CreateObject("CDO.Message")
Set oMailConfig = Server.CreateObject ("CDO.Configuration")
oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.domainname.com"
oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
oMailConfig.Fields.Update
Set oMail.Configuration = oMailConfig
oMail.From = "ad***@domainname.com"
' from this account which is valid on this server
oMail.To = "jr******@domainname.com"
' this account ALSO on same server and valid too
oMail.Subject = "Website Email Buyer/Seller Form"
MessageBody = "text goes here"
' message is here via request.form from page before...
oMail.HTMLBody = MessageBody
oMail. SEND
Set oMail = Nothing
Set oMailConfig = Nothing
Response.Redirect("thanks.asp")
=================================================
This is pretty simple. Works in 3 seconds on one server and about 40 or so
on the new one.
Why? What'm I doing wrong here...this is SO dang dumb...I'm positive I've
got a simple mistake...but can NOT find it...
Sigh....
Jim
"Anthony Jones" wrote:
Ok so we've established it isn't your script its the SMTP configuration.
Are the speedier servers using the same SMTP server?
Are you using the local SMTP server on the Web Server or another server?
Is it Exchange?
Can you review the authentication requirements of the SMTP server?
Does you script run as the anonymous user or does it use integrated
security?
--
Anthony Jones - MVP ASP/ASP.NET