Nice work Rob! You were totally correct as I needed to write the header, mail body and footer before I dumped the whole thing using OB contents. Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php