1.

Solve : cc and bcc in UNIX mailx?

Answer»

what is the command to CC and bcc using mailx in unix?Quote

what is the command to cc and bcc using mailx in unix?



here's the resolution i got.
create file msg.txt which has

"PUT Message Here"
~C [emailprotected]


then execute

mailx [emailprotected] < msg.txt

should shoud do the trick!

my problem now is how to attach a file and send it with a cc or bcc..

here's the cmd to attach file

uuencode /FILENAME filename | mailx [emailprotected]

the problem now is how to add a cc in the receipient...here's my workaround in case some is interested.

1. create a body.txt that contains:

Attached is your file.
~c [emailprotected]

2. create the attachment and append it to body.txt
uuencode path/filename filename >> body.txt

3. send the email
mailx -s "Subject" < body.txt


Discussion

No Comment Found