Line transfer in supernovae envelopes by Sobolev's treatment