Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static Dictionary<Group, System.Net.Mail.MailAddress[]> emailLookup = new Dictionary<Group, System.Net.Mail.MailAddress[]> {
- { Group.Advertisers, new System.Net.Mail.MailAddress[] { new System.Net.Mail.MailAddress("michael@interclick.com"), new System.Net.Mail.MailAddress("interclick.marketing@interclick.com") } },
- { Group.Business, new System.Net.Mail.MailAddress[] { new System.Net.Mail.MailAddress("michael@interclick.com"), new System.Net.Mail.MailAddress("interclick.marketing@interclick.com") } },
- { Group.Publishers, new System.Net.Mail.MailAddress[] { new System.Net.Mail.MailAddress("publishers@interclick.com") } },
- { Group.Technical, new System.Net.Mail.MailAddress[] { new System.Net.Mail.MailAddress("ictechsupport@interclick.com") } },
- { Group.Other, new System.Net.Mail.MailAddress[] { new System.Net.Mail.MailAddress("interclick.marketing@interclick.com") } },
- };
- public void btnSubmit_Click(object sender, EventArgs e)
- {
- System.Net.Mail.MailMessage mailMsg = new System.Net.Mail.MailMessage();
- mailMsg.To.CopyTo(emailLookup[Group.Other], 0)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement