Thermoelectric effects in magnetic nanostructures door