EMAIL_ADDRESS="jsmith@abc.com" BODY="This is the body of the message." ATTACHED_FILE_DIR="/etc/" ATTACHED_FILE="hosts" ATTACHED_FILE_AS="hosts.txt" unix2dos "$ATTACHED_FILE_DIR$ATTACHED_FILE" > /tmp/"$ATTACHED_FILE_AS" uuencode /tmp/"$ATTACHED_FILE_AS" /tmp/"$ATTACHED_FILE_AS...
I getting an empty email when using the following command in a Korn shell script:subject="Testing ..."echo "Subject =${subject}"mailx -s"${subject}" myemail Anyone can help on this?Adnane Solved! Go to Solution. 0 Kudos 17 REPLIES James R. Ferguson Acclaimed Contributor 10...
Mailx is an intelligent mail processing system, which has a command syntax reminiscent of ed(1) with lines replaced by messages. It is based on Berkeley Mail 8.1,
So, I have to code a separate "done" command to finish the mail, or is there some work around for a one-liner command to send a subject-only email? 0 Kudos Reply Debbie Fleith Regular Advisor 06-12-2006 06:09 AM Re: mailx not available, does sendmail...
I have several linux systems that don't have mailx installed. Rather than install that package, is there some way to call sendmail within a shell script to send out a simple email with a subject line and no message body? Solved!Go to Solution. ...