cdonts looping nightmare ??????????

Results 1 to 3 of 3

Thread: cdonts looping nightmare ??????????

  1. #1

    Default cdonts looping nightmare ??????????

    I have a cdonts emailer and am trying to get it to send 1 mail to each<BR>person from a recordset.<BR><BR>problem is 1st email is Ok then 2nd is appended to the first and so on<BR><BR>i have tried 2 different ways of doing this but get the same result.<BR><BR>ALL the usual db connection stuff here <BR><BR>While Not objRS.EOF<BR> strName = objRS("name")<BR> strEmail = objRS("email")<BR><BR>then all the usual CDONTS stuff body in html format<BR><BR>Set objCDO = Nothing<BR> objRS.MoveNext<BR> Wend<BR><BR> objRS.Close<BR> objConn.Close<BR> Set objRS = Nothing<BR> Set objConn = Nothing<BR><BR>it sends 3 mails appended to each other to all email addresses.<BR><BR>where am i going wrong ???????????<BR><BR>cheers<BR>ian

  2. #2

    Default RE: cdonts looping nightmare ??????????

    i was following this if it helps<BR><BR>

  3. #3
    Join Date
    Dec 1969

    Default Show YOUR complete email code<eom>


Posting Permissions

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