Question : sending a file as attachment using UNIX mail/mailx command

How do I send a file as attachment as an email to me and cc it to a list of people using UNIX mail/mailx command

Answer : sending a file as attachment using UNIX mail/mailx command

If you want to send attachments then

uuencode file | mailx -c user1@domain,user2@domain2 -s "subject of this mail"

Please see

http://ibm5.ma.utexas.edu/cgi-bin/man-cgi?mailx+1
Random Solutions  
 
programming4us programming4us