# Email script output

**URL:** https://www.finalbuilder.com/forums/t/email-script-output/4388
**Category:** Discussion
**Created:** [July 24, 2009, 12:56pm UTC](https://www.finalbuilder.com/forums/t/email-script-output/4388 "2009-07-24T12:56:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pstavros](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@pstavros](https://www.finalbuilder.com/forums/u/pstavros)
#### Post date: [July 24, 2009, 12:56pm UTC](https://www.finalbuilder.com/forums/t/email-script-output/4388/1 "2009-07-24T12:56:22Z")

</div>

Newb here

I'm trying to get my scripts to email the output from the scripts that run.&nbsp; Example:

I created a script to check the drive information on a file server.&nbsp; The script runs and gets the information but I can't get the output reults in an email.&nbsp; I get my notifcation that the script ran successfully but nothing in the body telling me how much drive space is left.&nbsp; Can someone please help, I know this is a basic for most people but I'm new to scripting.

Thank You in advance!

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 24, 2009, 3:00am UTC](https://www.finalbuilder.com/forums/t/email-script-output/4388/2 "2009-07-24T03:00:36Z")

</div>

Hi Bill   
  
 You need to use the ExportLog Action to export the log to a file (html, xml or text) and then attach the file to the email. You could also load the file contents into a variable (using the Read Text File Action) and then use that variable in the Body of the email.   
  
 HTH
