Results 1 to 2 of 2

Thread: CDO

  1. #1
    Join Date
    Dec 1969

    Default CDO

    Hey guys I get an unspecified error when trying to send a file attachment through CDONTS...I pasted the code below any help would be greatly appreciated.<BR><BR> Dim objMail<BR> <BR> set objMail=server.createobject("CDONTS.NewMail")<BR> <BR> objMail.From=""<BR> objMail.To=""&MM_fields(5)&""<BR> objMail.AttachFile("Shared/SaveItForward.pdf")<BR> objMail.Subject=""<BR> objMail.Body="This email is to verify that "&MM_fields(1)&" "&MM_fields(3)&" has registered to receive newsletters from!"<BR> objMail.Send<BR> set nm=Nothing<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: CDO

    1. windows systems use backslashes as file separators (this is a filesystem path)<BR>2. does the file exist?<BR><BR><BR>j<BR>

Posting Permissions

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