/*

 * Command front-end to my mailer front-end!

 *

 * Huthar (5/8/92)

*/



#include <config.h>

#include <mailer.h>

inherit DAEMON;



int cmd_mail(string arg)

{

   object ob;



   seteuid("anonymous");



   ob = clone_object(MAILER);

   ob->move(this_player());



   if(arg)

      ob->do_mail(arg);

   else

      ob->start_mail();

   return 1;



}



help()

{

    write("Syntax: <mail [(player)(@mud)]>\n\n"+

        "Lets you do mailings without going to the post office.\n");

}

