<% ' send email to Requester using external smtp server using cdo
CONST SMTPServer = "localhost"
CONST cdoURL = "http://schemas.microsoft.com/cdo/configuration/"
HTML = HTML & "<HTML>"
HTML = HTML & "<BODY>"
HTML = HTML & "<P>This Email is sent to you by james. </P>"
HTML = HTML & "<P>For your info. thank you. <BR>"
HTML = HTML & " System</P>"
HTML = HTML & "<P>(This is an auto generated Email. Please do not reply to this message.)</P>"
'HTML = HTML & "</HTML>"subject = "Smtp email test:""</HTML>
HTML = HTML & "<P>For your info. please, thank you. <BR>"
HTML = HTML & "</HTML>"
HTML = HTML & "Online System</P>"
HTML = HTML & "<P>(This is an auto generated Email. Please do not reply to this message.)</P>"
HTML = HTML & "</BODY>"
HTML = HTML & "</HTML>"
subject = "Testing mail sending"
set cdoM = CreateObject("CDO.Message")
set cdoC = CreateObject("CDO.Configuration")
Set cdoF = cdoC.Fields
With cdoF
.Item(cdoURL & "sendusing") = 2
.Item(cdoURL & "smtpserver") = SMTPServer
.Item(cdoURL & "smtpconnectiontimeout") = 20
.Update
End With
With cdoM
Set .Configuration = cdoC
.From = "thebmwz4@yahoo.com"
.To = "thebmwz4@yahoo.com"
.Subject = Subject
.HTMLBody = HTML
.Send ******problem appears to be here when i load this script
End With
Set cdoM = Nothing
Set cdoS = Nothing
Set cdoF = Nothing %>