Mammary duct ectasia is the second most common cause of abnormal nipple discharge. It is typically seen in women who are approaching menopause. This condition results in inflammation and possible blockage of ducts located underneath the nipple. When this occurs, an infection may develop that results in thick, greenish nipple discharge.