Resonant scattering or absorption followed by emission