removed return from the sendmail-foreach loop