$cat “Filename” | mail -s “subject” “mailid”
The assumption here is that you have sendmail configured in the system and the mailid that you have provided accepts mails from unknown addresses. Gmail doesnt.
$cat “Filename” | mail -s “subject” “mailid”
The assumption here is that you have sendmail configured in the system and the mailid that you have provided accepts mails from unknown addresses. Gmail doesnt.