17 September, 2015

MUTT command and uuencode

MUTT
======

$cd 
$vi .muttrc

set from = "user@domain.com"
set realname = "Realname of the user"


mutt -s "Test from mutt" user@yahoo.com < /tmp/message.txt

or

mutt -s "Test from mutt" user@yahoo.com < /tmp/message.txt -a /tmp/file.jpg

or

echo "This is the body" | mutt -s "Testing mutt" user@yahoo.com -a /tmp/XDefd.png






mutt -a XXIB_HR_UTIL_PKG_example.pkb.zip -s "Package body" abcdef@xyz.com < /dev/null




uuencode 

uuencode application_5000.zip application_5000.zip|mailx -s "Logs" abcdef@gmail.com



No comments:

Post a Comment

OEM Agent Installation

./agentDeploy.sh AGENT_BASE_DIR=/u001/oracle/product/agent13c OMS_HOST=oem-dev.xxx.com EM_UPLOAD_PORT=1159 AGENT_REGISTRATION_PASSWORD=*****...