/// <summary> /// Checks the received message 1 attachment. /// </summary> /// <param name="smtpMessage">The SMTP message.</param> /// <returns></returns> public static Mail_Message ShouldHaveOneAttachment(this Mail_Message smtpMessage) { return(smtpMessage.ShouldHaveAttachments(1)); }