No, not all mammals feed from their mothers in the same way.
Most mammals nurse, but monotremes like platypuses and echidnas lay eggs and secrete milk through abdominal glands for their young to lick. Some marsupials also have relatively short lactation periods.
Nursing duration varies widely by species.