EmailIDs in text area

Results 1 to 2 of 2

Thread: EmailIDs in text area

  1. #1
    Join Date
    Dec 1969

    Default EmailIDs in text area

    Hi<BR><BR>I have few emailIDs in a textarea..Now I want to send a mail to all the ids in the textarea..How to send that..I am using CDONTS mail Component.I know How to send a mail with CDONTS but I need to know How to get all those ids and send email..Pls help<BR><BR>.I have to insert the IDs in the Database first and send the mail to ids..<BR><BR>Please help<BR><BR>Chang

  2. #2
    Join Date
    Dec 1969

    Default RE: EmailIDs in text area

    firstly not sure why you have them in a text area and not seperate inputs but never mind.<BR><BR>are there any constants , delimiters anything like that? <BR><BR>If they are all in one string you will need to parse the string to get all the id&#039;s seperate. Then if there in your database retreive them and move through the recordset like so<BR><BR>WHILE NOT myrs.eof<BR><BR>stremailaddress = MyRS("emailaddress")<BR><BR>CDONTS INFO HERE<BR>with the to field set to = stremailaddress <BR><BR>Myrs.Movenext<BR>WEND<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