Hallo Stefan,
hieraus solltest du genug lernen können um es selbst zu programmieren:
ftp://ftp.isi.edu/in-notes/rfc2049.txt
ftp://ftp.isi.edu/in-notes/rfc2048.txt
ftp://ftp.isi.edu/in-notes/rfc2047.txt
ftp://ftp.isi.edu/in-notes/rfc2046.txt
ftp://ftp.isi.edu/in-notes/rfc2045.txt
ftp://ftp.isi.edu/in-notes/rfc2387.txt
ftp://ftp.isi.edu/in-notes/rfc2231.txt
CYa
GONZO