I have a need to send out emails to all the people who are in a given group say "HR Department". I need to be able to get all the emails through a for loop and then as it retrieves I should send emails to them. Can some one please help me with the code how to get the emails out of AD.
this is what I came up with but not sure how to go about writing a for loop to get all the emails in the given group. I am having difficulty to send both the loginName and the group that I am interested in to the AD in the search.Filter.
public static string SendEmails(string loginName)
I have a datagrid control with horizontal and vertical scrollbars. Both scrollbars work properly on Windows XP machine, but when I deploy/run site on a Windows 2003 Server, I don't see the horizontal scrollbar. Also, all the columns get rearranged automatically. Any ideas what's wrong?