Magnesium transporter that mediates the influx/efflux of magnesium in a concentration-dependent manner. Plays a crucial role in male gametophyte development and male fertility. Expressed predominantly in flowers notably in anthers at early stages of flower development. Has the ability to complement mutants in Salmonella typhimurium and yeast lacking magnesium transport capability. Belongs to the CorA metal ion transporter (MIT) (TC 1.A.35.5) family. Extended C-terminus.