CDONTS Question

Results 1 to 3 of 3

Thread: CDONTS Question

  1. #1
    Elliot Guest

    Default CDONTS Question

    Is it possible to create a DO WHILE LOOP in the .body Object in CDONTS? I have data that I want to show up in an email. Is this possible?

  2. #2
    Join Date
    Dec 1969

    Default RE: CDONTS Question

    I did it by building up a string through a Loop and then setting the body equal to the string.<BR>ie <BR>objMail.Body= BuildBody<BR><BR>-----------------------<BR><BR>My own CDONTS question?<BR>Is there an obvious reason why I can&#039t get it to send email to exteral accounts but they work to people in my own company?<BR><BR>I&#039 using this:<BR>Set objMail = CreateObject("CDONTS.NewMail")

  3. #3
    Elliot Guest

    Default RE: CDONTS Question (Not What I Meant)

    Thanks, but while I understand what you mean, what I would like to do is get a bunch of recordsets outside the body. Can I assign a variable to my returned recordsets, and use that variable in my body, and use the variable to display ALL records, or just the last one in the loop?

Posting Permissions

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