Have a report that is too big to be column output and don't like the list look of TSM 6.1? Sure you could reformat you comma delimited file for output but I'd rather send it as an attachment in their mail and let them open it in Excel. So if you have access to a Linux/UNIX server this is a simple solution I used recently and it worked great.
uuencode /tmp/tsm/stg_backup_rpt.csv /tmp/tsm/stg_backup_rpt.csv | mailx -s "TSM Servers Backup STGPool Status" "test1@mymail.com,test2@mymail.com"
There are other ways with other mail handlers (i.e. mail, mailx, sendmail, etc.) but this one was easy and worked.
Showing posts with label e-mail. Show all posts
Showing posts with label e-mail. Show all posts
Thursday, February 3, 2011
Send CSV File As Attachment
Have a report that is too big to be column output and don't like the list look of TSM 6.1? Sure you could reformat you comma delimited file for output but I'd rather send it as an attachment in their mail and let them open it in Excel. So if you have access to a Linux/UNIX server this is a simple solution I used recently and it worked great.
uuencode /tmp/tsm/stg_backup_rpt.csv /tmp/tsm/stg_backup_rpt.csv | mailx -s "TSM Servers Backup STGPool Status" "test1@mymail.com,test2@mymail.com"
There are other ways with other mail handlers (i.e. mail, mailx, sendmail, etc.) but this one was easy and worked.
uuencode /tmp/tsm/stg_backup_rpt.csv /tmp/tsm/stg_backup_rpt.csv | mailx -s "TSM Servers Backup STGPool Status" "test1@mymail.com,test2@mymail.com"
There are other ways with other mail handlers (i.e. mail, mailx, sendmail, etc.) but this one was easy and worked.
Saturday, June 19, 2010
Updated E-mail
I apologize to anyone who has sent me an e-mail to tsmexpert@hotmail.com since I really have not checked it consistently and thought I had switched everything over to my gmail account. If you have a question or would like to submit an article I have updated my e-mail link or you can contact me at chadsmal@gmail.com (yes that's one l).
Subscribe to:
Posts (Atom)