Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: cc and bcc in UNIX mailx  (Read 12594 times)

0 Members and 1 Guest are viewing this topic.

isko98

  • Guest
cc and bcc in UNIX mailx
« on: May 13, 2005, 02:35:40 PM »
what is the command to cc and bcc using mailx in unix?

isko98

  • Guest
Re: cc and bcc in UNIX mailx - RESOLVED. new prob
« Reply #1 on: May 13, 2005, 03:28:41 PM »
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 [email protected]


then execute

mailx [email protected] < 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 <path>/filename filename | mailx [email protected]

the problem now is how to add a cc in the receipient...

isko98

  • Guest
Re: cc and bcc in UNIX mailx
« Reply #2 on: May 16, 2005, 02:44:44 AM »
here's my workaround in case some is interested.

1. create a body.txt that contains:

Attached is your file.
~c [email protected]

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