Windows Vista Forums

Send a text file as message body?
  1. #1


    Barry Holmes Guest

    Send a text file as message body?

    Have a script that needs to send a time synch report ~170 lines stored in a
    file named domain-time.
    I need to be able to read the file into ?? (an array/blob/unknown).



    what type of wscript variable can hold this read text file?

    I have the process working but it is currently only sending the last read
    line.


      My System SpecsSystem Spec

  2. #2


    Pegasus [MVP] Guest

    Re: Send a text file as message body?


    "Barry Holmes" <barry.holmes@newsgroup> wrote in message
    news:8F6BA556-F439-41E2-9A99-EB5FEC0CDD4D@newsgroup

    > Have a script that needs to send a time synch report ~170 lines stored in
    > a file named domain-time.
    > I need to be able to read the file into ?? (an array/blob/unknown).
    >
    > what type of wscript variable can hold this read text file?
    >
    > I have the process working but it is currently only sending the last read
    > line.
    The ReadAll method will load a whole text file into a single string. Have a
    look at the downloadable help file script56.chm for details.



      My System SpecsSystem Spec

Send a text file as message body? problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Screen - copying in body of text rad Vista mail 3 27 Jun 2009
Body of text disappears in Reply Nascot Dave Live Mail 1 04 May 2008
Re: Question concerning copying from the text body Gary VanderMolen Live Mail 4 03 Apr 2008
Re: Question concerning copying from the text body Robert Aldwinckle Live Mail 0 31 Mar 2008
send a text message to a phone kgerald82 Vista General 2 29 Feb 2008