I want to make my email encrypted as email is confidential. Can anyone please tell me how to encrypt the email using the mailx command. In my shell script I have already used mailx to send the emails, so I want this to be done by mailx command only. Any suggestions ?
Here’s how I did it:
Here is a Bash script that implements the idea: