Automation SCRIPT to reset the password in PERL

Hi All,

We have many number of users.Some times we will receive mail from them like ,
the below USER password got expired and they are requesting us to change the password and send it back to them in a mail. there we are giving Expiray date again.

We are doing this process manually. I want to write an automation PERL script which will inform the user before 3 days like "your password will expire in 3 days/ 2 days/today" like that it should send an alert once he logged into the system.

on the last day it should change the password for that particular user and it should send an email to that particular person like "your password has been changed and please find the below credential details"

      User Name :
      Password:

It should extended the expiry date to 11 months. once everything got done need to send an email to the respective user.

can any one please share your views for coding and let me know if you need more information

Thanks.

What operating system and version?

Hi,

We are using Windows XP OS.

Please let me know if you need more information.

Thanks.