Split multiple recipients to whitespace instead of comma.

svn path=/trunk/; revision=770
This commit is contained in:
Robin H. Johnson 2011-01-18 04:45:15 +00:00
parent f24ecd86d0
commit d45d5c61f0

View file

@ -39,7 +39,7 @@ send_email() {
body=${message} body=${message}
fi fi
echo -e "From: ${EMAIL_FROM}\r\nTo: ${EMAIL_TO}\r\nSubject: ${subject}\r\n\r\n${body}" | /usr/sbin/sendmail -f ${EMAIL_FROM} ${EMAIL_TO} echo -e "From: ${EMAIL_FROM}\r\nTo: ${EMAIL_TO}\r\nSubject: ${subject}\r\n\r\n${body}" | /usr/sbin/sendmail -f ${EMAIL_FROM} ${EMAIL_TO//,/ }
} }
run_cmd() { run_cmd() {