Exemple #1
0
 protected void Send_Mail_Job_Details(int OFFICE_ID, int WORKLIST_ID, int VESSEL_ID)
 {
     try
     {
         int MsgID = objBLL.Create_Mail_Job_Details(OFFICE_ID, WORKLIST_ID, VESSEL_ID);
         if (MsgID > 0)
         {
             string js = "window.open('../../Crew/EmailEditor.aspx?ID=" + MsgID + "&Discard=1');";
             ScriptManager.RegisterStartupScript(this, this.GetType(), "SendMailJs" + MsgID, js, true);
         }
     }
     catch (Exception ex)
     {
         UDFLib.WriteExceptionLog(ex);
     }
 }