Forum Moderators: open
here's my error:
CDO.Message.1 error '80040213'
The transport failed to connect to the server.
/recruiting.asp, line 68
and.. obviously line 68 is the .send line..
I just don't know what I'm doing wrong... here's my code
dim conf
If IsEmpty(Conf) Then
Const cdoSendUsingPort = 2
Const cdoBasic = 1 'basic (clear-text) authentication
Set Conf = CreateObject("CDO.Configuration")
With Conf.Fields
.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "myserver.ca" 'this is set to my server obviously
.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = "my username is here"
.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "my password is here"
.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False
.Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
.Update
End With
End If
any help would be greatly appreciated! :-) cheers!
Lana
my hosting provider messed around with all of his dns names and stuff without telling me! (good thing he's a friend of mine) -
anyways.. he set up a special smtp account now just for me that he promises not to change without telling me..
why.. i aughtta.. good news is.. my form works now though! and my code was right..!