Hii
I am trying to send some attachment using
CDONTS.newmail component but i am getting
errors at the .AttacFile line
if i comment the line the bellow source
code works out well..
Can somebody help me out..
thanks
Satish.
the source code goes here
<%
strbody=" My test message My test message My test message My test message "
Set objMsg = Server.CreateObject("CDONTS.NewMail")
With objMsg
.To ="satishkumar12@r..."
.From ="abc@a..."
.Subject =" My test message "
.MailFormat = CdoMailFormatMime
.BodyFormat = CdoBodyFormatHTML
.AttachFile("D:/satish/test/test.txt","test.txt",0)
.Body = strBody
.Send
End With
Set objMsg = nothing
%>