Attaching file using CDONTS

Results 1 to 2 of 2

Thread: Attaching file using CDONTS

  1. #1
    Join Date
    Dec 1969

    Default Attaching file using CDONTS

    Hey there,<BR><BR>Could someone tell me what is wrong with:<BR><BR>objCDO.To = ""<BR> objCDO.From = ""<BR> objCDO.Subject = "Application from Website"<BR> objCDO.Body = message<BR> objCDO.Importance = 1 <BR> <BR> objCDO.AttachFile cv<BR><BR> objCDO.Send<BR><BR> Set objCDO = Nothing<BR><BR>There is a problem with the objCDO.AttachFile cv<BR><BR>It&#039;s an unspecified error, so I don&#039;t know what is going on. cv is a location such as c:myfile.txt which is grabbed from a DB earlier in the scipt.<BR><BR>Any ideas?<BR><BR>Thanks.

  2. #2
    Ron Low Guest

    Default RE: Attaching file using CDONTS

    In the other statements you use = to assign a value to a property. Why not with cv?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts