public void WriteHeader( MailHeader header ) { // write the headers foreach( string key in header.Data.AllKeys ) WriteLine( "{0}: {1}" , key , header.Data[ key ] ); // write the header end tag WriteLine( "" ); }