hello,
I am using winxp as os. i am having IIS installed & have taken SMTP services.i am not having SMTP server. can i send mails without SMTP sever. i ve written following coding in my asp page.
Const cdoOutlookExvbsss = 2
Const cdoIIS = 1
' Dim Message As New CDO.Message
'Create CDO message object
Set Message = CreateObject("CDO.Message")
With Message
'Load IIS configuration
.Configuration.Load cdoIIS
'Set email adress, subject And body
.To = aTo
.Subject = Subject
.TextBody = TextBody
'Set sender address If specified.
If Len(aFrom) > 0 Then .From = aFrom
'Send the message
.Send
End With
is this code is correct. please tell me how tosend mails with CDO. & if i don't have SMTP server then how i can send mails.
ajay
I am using winxp as os. i am having IIS installed & have taken SMTP services.i am not having SMTP server. can i send mails without SMTP sever. i ve written following coding in my asp page.
Const cdoOutlookExvbsss = 2
Const cdoIIS = 1
' Dim Message As New CDO.Message
'Create CDO message object
Set Message = CreateObject("CDO.Message")
With Message
'Load IIS configuration
.Configuration.Load cdoIIS
'Set email adress, subject And body
.To = aTo
.Subject = Subject
.TextBody = TextBody
'Set sender address If specified.
If Len(aFrom) > 0 Then .From = aFrom
'Send the message
.Send
End With
is this code is correct. please tell me how tosend mails with CDO. & if i don't have SMTP server then how i can send mails.
ajay