Heated electron distributions from resonant absorption