added try loop to html generator, added cc list to sendmail function,
 added production email and cc list to sendmail call, removed debugging print statments, renamed values line to cmc values line to avoid conflicts with prtg script
renamed line types for compatibilty with html generator script