Link to home
Start Free TrialLog in
Avatar of sapa44
sapa44

asked on

Automating emails from AD

Is it possible to create a script, or install a program, which will send an email when a new user is created in Active Directory?
When we set up a user, we have to send an email to our head office to create an aliase entry in thier mail server. Sendmail used to work with older versions of Exchange, but not with Exchange 2003.
Avatar of David Lee
David Lee
Flag of United States of America image

Hi, sapa44.

This would require a service or program that would constantly monitor AD watching for new accounts being created.  It's not impossible, but I'm not aware of any built-in means of doing this.  A different approach would be to use a script to create the new accounts and in that script include a routine for sending the email.  That actually seems to me like a much better approach since it provides a means for handling other automatic tasks associated with creating a new account.  
Avatar of sapa44
sapa44

ASKER

Hi,

Thanks for the reply, I did think it might have to be a script. Any ideas as to how difficult this script would be? If its an big job I will have to grin and bear it the manual way.
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sapa44

ASKER

Thanks for your help, that looks like what I'm after. Will need to play with the script I think to get the right result.
You're welcome.