Hi Kavi,

I do this like this:

$MailBodyMessage="Some Text"
$MailFile=/ca/spectrum/custom/_scripts/_logFiles/autostart.log
$MailFileName=autostart.log

(echo $MailBodyMessage; uuencode $MailFile $MailFileName) | mail -s "....." 
$NotifyTo

Muliple files like:

(echo $MailBodyMessage; uuencode $MailFile $MailFileName; uuencode $MailFile2 
$MailFileName2) | mail -s "...." $NotifyTo


Best regards,

Harald

-----Ursprüngliche Nachricht-----
Von: kavi arasu [mailto:[email protected]] 
Gesendet: Mittwoch, 19. August 2015 19:09
An: spectrum <[email protected]>
Betreff: [spectrum] Set script email attachment

Hi All,

Is it possible to attach files in email triggered by setscript. I would like to 
modify the emailing part in setscript to attach some files in the email 
notification.

Had anyone tried this. Please let me know your suggesstions on the same.

Thanks,
Kavi
---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to