|
|
|
|
|
| | |
| |
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
CDONTS Attachement ??? |
|
From: |
Shahram |
|
Date: |
1/26/1999 7:43:57 AM |
|
IP: |
202.54.16.122 |
hi !
I need to know the exact syntax for attaching a file using CDONTS
Below is my code ......
Dim myMail
Set myMail = Server.CreateObject("CDONTS.NewMail")
If IsObject(myMail)=false then
Response.write "error"
Else
myMail.BodyFormat = 0
myMail.MailFormat = 0
myMail.From = Request.Form("email")
myMail.To = Request.Form("email")
myMail.Subject = "Testing"
myMail.Body = mess
myMail.AttachFile = "testing.txt"
myMail.Send
Set myMail = Nothing
End If
The error seems to be with AttachFile !!
Thanks
Shahram |
Follow Up - Re: CDONTS Attachement ??? - Lothar A. Haensler 1/26/1999 10:13:26 AM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|