i am implementing a send mail functionalities inside dreamweaver,
after i have establisha connection from databse tat retrieve the email from the email field,
i configured the message object using CDO,Message mail object.
the code are as below:
Set cdoConfig = CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "127.0.0.1"
'.Item(cdoSMTPAuthenticate) = 1
'.Item(cdoSendUsername) = ""
'.Item(cdoSendPassword) = ""
.Update
End With
Set cdoMessage = CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "
[email protected]"
.To = email
.Subject = "Retrieve Lost Password"
.TextBody = "Username: " & rs("username") & " and Password: " & rs("password")
.Send
End With
but when i execute the code it says my line 28 or the line starts with the bold letter
.Item(cdoSendUsingMethod) = cdoSendUsingPort , has shown error on the result page and the full error message is:
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
anybody care to help me out?