Split multiple recipients to whitespace instead of comma.
svn path=/trunk/; revision=770
This commit is contained in:
parent
f24ecd86d0
commit
d45d5c61f0
|
@ -39,7 +39,7 @@ send_email() {
|
|||
body=${message}
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue