Results 1 to 2 of 2

Thread: sending mail from ASP page

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Location
    india
    Posts
    3

    Unhappy sending mail from ASP page

    i'm sending a commen mail to multiple user from my asp page.the addresses are stored in a text file which i'm reading thru FSO .
    it reads all the e-mail addresses together and display all of them in TO field.but i want that addresses should appear one by one after the mail to the previous address has been sent i.e. i want the e-mail id of a single person in the TO field at a time.
    Please help me out.

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264
    You should have your text file delimited by a certain character, lets take "," (comma) for example.

    than you can do something like that

    dim content ' this will hold the text file information
    dim infoArr ' this will hold the emails

    ' for example

    content="[email protected],[email protected]"

    infoArr=split (content,",") ' this will put the information inside the array

    for counter=0 to ubound (infoArr,1)
    response.write (infoArr(counter))
    next

    That should do the trick
    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

Posting Permissions

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



Click Here to Expand Forum to Full Width