An improved method for solving time-dependent problems in quantum mechanics, in the customary cases of constant or harmonic perturbation, is applied to the calculation of the self-energy of electrons interacting with phonons in solids. The mixing of unperturbed Bloch states, resulting from the actual coupling, is self-consistently taken into account, and the related quantum probability amplitudes are determined through direct integration over the quasiparticle spectrum. Laplace transform and elementary mathematics are used, thereby enhancing the physical transparency, and bringing out approximations in every stage. Explicit illustrative results are worked out in the simple case of slowly varying self-energy parameters. The method is critically compared with the standard Green function approach, and further encourages more detailed applications.