The parentheses allow us to execute a sequence of unix commands separated by ";" , then present the whole output to "mailx".
The position of the parentheses is critical.
Also you have the word "uuencode" in the line twice.
The equivalent of "ux2dos" appears to be "unix2dos" on Solaris.
You've removed the "-m" switch from the "mailx". I assume that it is not valid on your Solaris. I'd like to check but the website docs.sun.com has collapsed in a heap today.
Hi,
I am trying to attach a .log file or .txt file to mail command to send an email once my ksh script executed. I am unable to use mutt command as it has been not installed and i am not supposed to install it. I have tried many ways by googling which has not helped me to succeed.
Here is my... (5 Replies)
Hi
I want ot send a mail with aatach a file for this i have tried
mailx -s "COMPLETED: deal.sh" -a root/usr/local/bin/sched/nightly_Cronjob/test.out me@nowhere
uuencode /usr/local/bin/sched/nightly_Cronjob/test.out /usr/local/bin/sched/nightly_Cronjob/test.out | mailx -s "COMPLETED:... (2 Replies)
Hi
I want ot send a mail with aatach a file for this i have tried
mailx -s "COMPLETED: deal.sh" -a /usr/local/bin/test.out me@nowhere
uuencode /usr/local/bin/test.out /usr/local/bin/test.out | mailx -s "COMPLETED: deal.sh" me@nowhere
but of command is not working. so is there any... (0 Replies)
Hi guys.
I'm studding XEN virtualization with 'The Book Of XEN'. in page 46 it has a statement about how to use xm block-attach command that I don't understand.
here is the command:
xm block-attach 0 tap:aio:/opt/xen/anthony.img /dev/xvda1 w 0and here is sentence:
we are attaching anthony.img... (1 Reply)
Hi All,
Can any-one explain me how update on attach works on solaris zones.
Here is the situation .
I am trying to migrate a zones xx-xxx-xxx from Global zone A to Global zone B.
Here is the error message zoneadm is displaying
zoneadm: zone 'xx-xx-xxx': ERROR: attempt to downgrade... (0 Replies)
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
if test.dat is the file
cat test.dat|uuencode test.dat|mailx -s "subject" mailid
can be used for attaching test.dat
how can i attach more than one file to a mail using mailx (2 Replies)
If I use the "Mail" link instead of the "mail" link to ../mailx I get this error.
Mail so-n-so @whatever.com
mailx: NUL changed to @
Unknown command: "postmaster"
The email still goes through but i get the error.
If I use "mail" it goes thru without the error.
Any ideas?? (2 Replies)
Hello All,
I am maintaining a server and I use pine as MUA and sendmail as MTA. Suddenly many users in the network face the problem of not being able to attach files using pine. I checked the sendmail.cf file and found a variable "MaxMessageSize = 1000000". Eventhough the message size... (2 Replies)