Ejemplo n.º 1
0
		private static List<string> GetRecipientAddressList(IProxy mailItem)
		{
			int count = mailItem.GetRecipientSmtpAddressCount();
			if (count == 0)
			{
				return new List<string>();
			}

			List<string> list = new List<string>();
			for (int i = 0; i != count; ++i)
			{
				list.Add(mailItem.GetRecipientSmtpAddress(i));
			}
			return list;
		}