Bryce,
I ran your code and
quote:
the number of days the account will expire is -730447
, which is not correct since the accounts have a max age of 60.
quote:
i am guessing that along with a list of user names you also have a list of email addresses?
Once I figure out how to trim the user name from the user list [Confused] :
usera userb userc

Use that variable to send e-mail (i.e. $x=username, $x@company.com)

Kent,
I have taken a look at your script but I can not make heads or tails out of it, way over my head. Thanks for the link.