Пример #1
0
        /// <summary>
        /// Adds email addresses from another recipient list into this list.
        /// </summary>
        /// <remarks>
        /// Only new email addresses will be added. Email addresses that exists
        /// in this list already will not be affected.
        /// </remarks>
        /// <param name="sourceRecipientListId">The id of the recipient list where email addresses will be fetched from.</param>
        /// <returns>The number of email addresses imported into this list</returns>
        public int AddRecipientItemsFromRecipientList(int sourceRecipientListId)
        {
            RecipientData dataUtil = GetWorker();
            int           count    = dataUtil.RecipientItemInsertFromRecipientList(_id, sourceRecipientListId);

            ClearEmailAddressCount();
            return(count);
        }