...Vielleicht kann mir einer sagen, wie man am einfachsten eine Mail mit Dateianhang verschickt. Soweit wie ich weiss, gibt das die mail()-Funktion nicht her.
Wie steht es so schön in der PHP-Anleitung zu mail() (http://www.php.net/manual/en/function.mail.php):
"Email with attachments and special types of content can be sent using this function. This is accomplished via MIME-encoding - for more information, see this Zend article or the PEAR Mime Classes."
Gruß,
soenk.e