mark edwards
Member
hello -
i remember John Q told me to quit using sendmail and use mailx instead, i think perhaps he mentioned security issues?
lately Gmail is occasionally coming through as just a "noname" attachment with google. i have researched two workarounds (i am merely emailing the server date as an example):
SUBJECT='test test TEST' ; SUBJECT=${SUBJECT}$(echo -e "\nContent-type: text/html") ; echo `date` | mailx -s "$SUBJECT" mark@marky.com ;
echo `date` | mailx -s "test test TEST $(echo -e "\nContent-type: text/html")" mark@marky.com ;
i am not satisfied with either solution. many forums talk about using the -a switch, but in Centos7 the -a switch is only used for actual attachments.
any suggestions?
i remember John Q told me to quit using sendmail and use mailx instead, i think perhaps he mentioned security issues?
lately Gmail is occasionally coming through as just a "noname" attachment with google. i have researched two workarounds (i am merely emailing the server date as an example):
SUBJECT='test test TEST' ; SUBJECT=${SUBJECT}$(echo -e "\nContent-type: text/html") ; echo `date` | mailx -s "$SUBJECT" mark@marky.com ;
echo `date` | mailx -s "test test TEST $(echo -e "\nContent-type: text/html")" mark@marky.com ;
i am not satisfied with either solution. many forums talk about using the -a switch, but in Centos7 the -a switch is only used for actual attachments.
any suggestions?