I set this up for root login:

echo 'ALERT - Root Shell Access (ServerName) on:' `date` `who` | mail -s "Alert: Root Access from `who | cut -d"(" -f2 | cut -d")" -f1`" user[at]domain.com

Everything works peachy. However, I also wanted to add this to anouther user other then root. EXACT (copy/past) same code but it tells me bad mail address.

Am I missing something here?