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.
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.
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.