Mailx Command to send the files from solaris box
For Single file
Ex:uuencode Diff.text Diff.text |mailx -s " Difference" ramprasad@gmail.com
For multiple Files :
( uuencode Diff.txt Diff.txt ; uuencode Diff.txt Diff.txt ) | mailx -s " Difference" ramaprasad@gmail.com
Use -r option to add the sender mail id for mailx command.
echo "Send from example" | mailx -s "Send from example subject" -r "from@example.com" ramprasad@gmail.com
Use -r option to add the sender mail id for mailx command.
echo "Send from example" | mailx -s "Send from example subject" -r "from@example.com" ramprasad@gmail.com
No comments:
Post a Comment