Disk space details from Unix to Outlook

Hi Friends,
I am using sun Solaris [SunOS 5.8].
I want to find the disk space (df -k) for the Unix box and the data has to be sent to an email id.
Can u please find me a code that checks the disk space 6 times a day, loads the data into an excel sheet and sends to an email id.
Can u also tell me how to check whether the mail sending option is enabled or not.

  1. You will need to create a simple script that sends df-k into a comma separated file.
df -k | awk '{print $1","$2","$3","$4","$5","$6}' > filename
  1. You will need to add this script to cron - to run 6 times each day

  2. To test if your host is able to send e-mail:

mailx -s test you@your.address.com
  1. To mail with an attachment:
uuencode filename filename| mailx -s "subject" you@your.address.com

Hi

I am very new to UNIX so please forgive me if my doubts are silly.

The code u have sent is working fine.
But the problem is that I am not able to send mails through the sun solaris box.
I have tried the following code.

mailx -s test a@b.com
test mail
.
EOT

I think the problem might be that the mail server is not installed/configured.
Could you please tell me how to find out if the box is capable of sending mails or is there any other way to send mails other than mailx
Your valuable reply will be great help to me.