Ejemplo n.º 1
0
        public void AddNewHardBounce(List <string> emails, string message = "BounceHandler: Hard Bounce")
        {
            // Setting this e-mail as a hard bounce by updateing the statics and set it to "EmailTrackingStatus.Error", the "message"-param will be displayed in the UI.
            _emailTrackingItemRepository.SetStatus(emails, message, (int)EmailTrackingStatus.Error);

            // Sets the status of the subscribers in the mailinglists
            _subscriberRepository.SetAsBounced(emails);
        }