multiple recipients w/ CDONTS

Results 1 to 3 of 3

Thread: multiple recipients w/ CDONTS

  1. #1
    Join Date
    Dec 1969

    Default multiple recipients w/ CDONTS

    Hi, i&#039;m using the following code to send an email. How do I send to multiple recipients? Seperating emails with commas or seimcolons doesn&#039;t seem to work. Thanks - Trevor<BR><BR>&#060;%<BR><BR> Dim objMail<BR> Set objMail = Server.CreateObject("CDONTS.NewMail")<BR> <BR> objMail.From = ""<BR> objMail.Subject = "A message TO you"<BR> objMail.AttachFile("d:imagespic.gif")<BR> objMail.To = ""<BR> objMail.Body = "This is the body of the Message"<BR> objMail.Send<BR> <BR> Response.write("Mail was Sent")<BR> <BR> &#039;You must always do this with CDONTS.<BR> set objMail = nothing<BR>%&#062;<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: multiple recipients w/ CDONTS

    semi colons DO work.<BR><BR>objMail.To = ";"

  3. #3
    Join Date
    Dec 1969

    Default So do commas <eop>


Posting Permissions

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