/* DBOX Module Copyright (C) 1994-2000 Daniel Kroening Purpose: */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "ostatus.h" #include "webgetrfc.h" #include "webtools.h" #include "formatmessage.h" #include "readwebmail.h" void readwebmail(ostream &out, getrfct &getrfc, dword msgnr, const string &msg_id, bool show_mimestruct) { { string title=nls.get("webonline.mail.title"); title+=' '; title+=status.username; startpage(out, title); } if(getrfc.get_structure(msgnr)) { out << "

Error: failed to get message!

\n"; } else { format_message(out, show_mimestruct, FALSE, msg_id, "/email", *getrfc.mimestruct, getrfc.rfcm); } endpage(out); }