JVRudnick
Thu Feb 28 09:03:03 CST 2008
thinking here....
could we take this 'off' this forum and converse via email?
let me know if that's okay with you? I've got some results from a component
test and further data on this, but don't want to "hog" any bandwidth for
others...
jrudnick at kkti dot com
:-)
Jim
"JVRudnick" wrote:
> I too believe that there is a "struggle" going on. Both servers are ded
> servers from thePlanet and no are not related at all - ie both have diff
> clients and domains on them but they both are w2k3/SP2/iis6 boxes. Domain
> controller and trusted for delegation are beyond my ken tho...what do you
> mean there?
>
> Jim
>
> "Anthony Jones" wrote:
>
> > "JVRudnick" <JVRudnick@discussions.microsoft.com> wrote in message
> > news:3957B156-20D6-42F0-A6BF-34F80C79610E@microsoft.com...
> > > 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/smtpserve
> > r") = "mail.domainname.com"
> > >
> > >
> > oMailConfig.Fields("
http://schemas.microsoft.com/cdo/configuration/smtpserve
> > rport") = 25
> > >
> > >
> > oMailConfig.Fields("
http://schemas.microsoft.com/cdo/configuration/sendusing
> > ") = 2
> > >
> > >
> > oMailConfig.Fields("
http://schemas.microsoft.com/cdo/configuration/smtpconne
> > ctiontimeout") = 60
> > >
> > > oMailConfig.Fields.Update
> > >
> > > Set oMail.Configuration = oMailConfig
> > >
> > > oMail.From = "admin@domainname.com"
> > > ' from this account which is valid on this server
> > >
> > > oMail.To = "jrudnick@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....
> > >
> >
> >
> > If you reduce the connection timeout to say 20 seconds does it fail. My
> > guess it does. The web server is struggling to authenticate with the mail
> > server. Do both servers belong to the same domain, do they have good access
> > to a domain controller, is the web server trusted for delegation?
> >
> >
> > --
> > Anthony Jones - MVP ASP/ASP.NET
> >
> >
> >