This project is read-only.
AccountMailer is command based .NET application which enumerates users in Active Directory, retrieves their password expiration information and emails individual users that their password is about to expire. Settings are in app.config file in application directory.

Explanation of individual keys are below.
"debug" attribute tells not to email individual users but to email to "debug email" recepient.
"fromEmail" is email address messages will be coming from
"domain" is AD domain name you are pulling accounts from
"relay server" is SMTP address of server used for emails
"subject" is subject line of email being sent
"ExpirationDays" is cutout day at which point you want to start sending emails about expiration

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="debug" value="true" />
<add key="debug email" value = "debug@gmail.com" />
<add key="fromEmail" value = "helpdesk@gmail.com" />
<add key="domain" value = "your.domain.com" />
<add key="relay server" value = "relay.mycompany.com" />
<add key="subject" value = "Password Expiration Notification" />
<add key="ExpirationDays" value ="14"/>

</appSettings>

</configuration>

Last edited Apr 12, 2010 at 8:09 PM by artisticcheese, version 2

Comments

No comments yet.