INSTALLATION DOCUMENTS BY RAVI

Saturday, April 15, 2017

Mailx commands in linux

$ echo "Message Body Here" | mailx -s "Subject Here" user@example.com -a path-of-the-file-to-attach

$ echo 'These are contents of my mail' | mailx -s 'This is my email subject' -a /path/to/attachment_file.log email_id@example.com

$ mailx -s "Sending Files" -a First_LocalConfig.conf -a Second_LocalConfig.conf Recipient@myemail.com


s : subject name of the mail
a : path of the files to be attached to the mail


No comments:

Post a Comment

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...