private BounceStatus ResolveStatus(SendGridEvent sendGridEvent) { BounceStatus bounceStatus; // If the event is for dropped email we mark it as hard bounced. if (sendGridEvent.EventType.EqualsIgnoreCase(SendGridEventTypes.Dropped)) { bounceStatus = BounceStatus.Hard; } else { bounceStatus = MessageParser.GetBounceMessageStatus(sendGridEvent.Status); } return(bounceStatus); }