Return TypeFunction nameArguments
boolGenerateMailId(hzString&,)

Declared and defined in file: hzMailer.cpp

Function Logic:

0:START 1:!s_EmailSystem 2:s_EmailSystem 3:hzXDate::SysDateTime hzXDate::Year hzXDate::Month hzXDate::Day hzXDate::Hour hzXDate::Min hzXDate::Sec getpid hzChain::Printf MailId 4:Return MailId?true:false

Function body:

bool GenerateMailId (hzString& MailId)
{
   hzChain Z ;
   hzXDate d ;
   if (!s_EmailSystem)
       s_EmailSystem = "hadronzoo-mailer" ;
   d.SysDateTime() ;
   Z.Printf("%04d%02d%02d%02d%02d%02d.%d.%s@%s",
       d.Year(), d.Month(), d.Day(), d.Hour(), d.Min(), d.Sec(), getpid(), *s_EmailSystem, *_hzGlobal_Hostname) ;
   MailId = Z ;
   return MailId ? true : false ;
}