Sending Multiple Emails

Results 1 to 2 of 2

Thread: Sending Multiple Emails

  1. #1
    dingleberry Guest

    Default Sending Multiple Emails

    ok, ok, so you have seen this question a hundred times before, but i have yet to see a good answer. how do i send 500+ emails using ASP? so far i have seen one solution, loop the Bcc to all those in the database. But i would rather be able to loop the whole CDONT'S object not just Bcc so that a new email (same body) is addressed to each individual. So far any way i try to loop the CDONT'S.newmail object does not work it just sends one email to last in recordset. Is there another solution other than the CDONT'S? I assume you cannot loop the CDONT'S object?

  2. #2
    Colleen Guest

    Default RE: Sending Multiple Emails

    I am not sure how to populate the array, but you could do this:<BR>&#060;%<BR>Dim mail<BR>Dim addressList<BR>Dim address<BR>addressList = array("", "","")<BR><BR >for each address in addressList<BR>Set mail = Server.CreateObject("CDONTS.Newmail")<BR>mail.from = ""<BR>mail.subject = "Here&#039;s my new address..."<BR>mail.body = "...whatever..."<BR> address<BR>mail.send<BR>Set mail = Nothing<BR>Next<BR>%&#062;<BR><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