D
Deep
Dear friends,
Is it possible to write mail attachment program usig cdo.message
component. if yes please tell me how to do it?
I am doing like this and it is giving error
-------------------
Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'AttachFile'
/asp/mailAttach.asp, line 28
--------------------
strEmail_attach = request("txtFile")
Set newmail = server.CreateObject ("CDO.Message")
newmail.from = "(e-mail address removed)"
newmail.to = "(e-mail address removed)"
newmail.subject = "Appear For First level Exam"
If strEmail_attach <> "" then
newmail.AttachFile(strEmail_attach)
End If
newmail.HTMLBody = "Hi how r u"
newmail.send
Set newmail = Nothing
Is it possible to write mail attachment program usig cdo.message
component. if yes please tell me how to do it?
I am doing like this and it is giving error
-------------------
Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'AttachFile'
/asp/mailAttach.asp, line 28
--------------------
strEmail_attach = request("txtFile")
Set newmail = server.CreateObject ("CDO.Message")
newmail.from = "(e-mail address removed)"
newmail.to = "(e-mail address removed)"
newmail.subject = "Appear For First level Exam"
If strEmail_attach <> "" then
newmail.AttachFile(strEmail_attach)
End If
newmail.HTMLBody = "Hi how r u"
newmail.send
Set newmail = Nothing