Use mutt to send email in Linux, hiding the real email address
Create a file .muttrc at home directory with the following content:
set realname="Eddie"
set from="Eddie@unknown.domain"
set use_from=yes
The command to send email:
echo "Email content" | mutt -e 'my_hdr From:Eddie@unknown.domain' -a AttachedFile -s "Email subject" -- recipient@unknown.domain
set realname="Eddie"
set from="Eddie@unknown.domain"
set use_from=yes
The command to send email:
echo "Email content" | mutt -e 'my_hdr From:Eddie@unknown.domain' -a AttachedFile -s "Email subject" -- recipient@unknown.domain
Comments
Post a Comment