setExportEmailAddress() public method

public setExportEmailAddress ( String emailAddress ) : void
emailAddress String
return void
        private bool pExportPDF(ref String outputFile, bool bShowPDFWindow)
        {
            try
            {
                cMouseWait mouse = new cMouseWait();

                Application.DoEvents();

                CSReportExport.cReportPdf expPDF = null;
                expPDF = new CSReportExport.cReportPdf();

                expPDF.setFileName(cUtil.getValidPath(System.Environment.GetEnvironmentVariable("TEMP")) + pGetExportFileName());
                expPDF.setExportEmailAddress(m_report.getExportEmailAddress());

                return expPDF.exportEx(m_report, this, outputFile, bShowPDFWindow);

            }
            catch (Exception ex)
            {
                cError.mngError(ex, "pExportPDF", C_MODULE, "");
                return false;
            }
        }
        // Files is a list of file names separated by |
        //
        public object sendMail(String files, String emailAddress)
        {
            cReportPdf expPDF = null;
            expPDF = new cReportPdf();

            expPDF.setExportEmailAddress(emailAddress);
            return expPDF.sendMail(files);
        }