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

SQL query to find whether OdiSendMail is configured or not ODI 12c

In the SQL developer connect to the ODI work repository user (Ex: DEV_ODI_REPO) and run the below query. select SCEN_NAME,TASK_NAME3,DE...