コード例 #1
0
ファイル: SendEmail.aspx.cs プロジェクト: hytdadmin/OA
    private void SendMailInfoSetTest(bool bolIsTest, string mailTo, string mailCC, string mailBCC, string strDate)
    {
        string strTitle     = string.Empty;
        string strBody      = string.Empty;
        string strFilesPath = string.Empty;
        string mailCCTO     = mailCC;

        HYTD.BLL.Call_CustomerBLL   bll           = new HYTD.BLL.Call_CustomerBLL();
        Models.Call_Customer        mCustomer     = new Models.Call_Customer();
        List <Models.Call_Customer> mCustomerList = new List <Models.Call_Customer>();

        mCustomerList = bll.GetCall_CustomerList().Where(c => c.CC_IsSend == 1).ToList();
        int i = 0;

        foreach (var v in mCustomerList)
        {
            i++;
            if (i > 2)
            {
                break;
            }
            if (v.CC_Status > 0 && v.CC_Email != null && v.CC_Email.Trim().Length > 0)
            {
                if (!bolIsTest)
                {
                    mailTo = mailCC = "";
                    mailTo = v.CC_Email;
                    if (mailCCTO.Length > 0)
                    {
                        mailCC = v.CC_CCEmail + "," + mailCCTO;
                    }
                    //密送给所属工程师
                    if (v.CC_Owner == "29")
                    {
                        mailBCC += ",[email protected]";
                    }
                    else if (v.CC_Owner == "37")
                    {
                        mailBCC += ",[email protected]";
                    }
                    else if (v.CC_Owner == "54")
                    {
                        mailBCC += ",[email protected]";
                    }
                    else
                    {
                        mailBCC += ",[email protected]";
                    }
                }
                else
                {
                    if (v.CC_Owner == "29")
                    {
                        mailTo = "*****@*****.**";
                    }
                    else if (v.CC_Owner == "37")
                    {
                        mailTo = "*****@*****.**";
                    }
                    else if (v.CC_Owner == "54")
                    {
                        mailTo = "*****@*****.**";
                    }
                    else
                    {
                        mailTo = "*****@*****.**";
                    }
                }
                //获取附件 如果没有附件则不添加
                DataSet ds = new DataSet();
                HYTD.BLL.Call_WorkBillBLL bllworkbill = new HYTD.BLL.Call_WorkBillBLL();
                //string strWhere = string.Format("CWB_CCID={0} and (convert(varchar(7),CWB_CreateTime,120)='{1}' or convert(varchar(7),CWB_CreateTime,120)='2015-04')", v.CC_ID, strDate.Substring(0, 4));
                string strWhere = string.Format("CWB_CCID={0} and convert(varchar(7),CWB_CreateTime,120)='{1}'", v.CC_ID, strDate.Substring(0, 7));
                ds = bllworkbill.ImportExcelCustomerWorkBill(strWhere);
                if (ds.Tables[0].Rows.Count > 0)
                {
                    strFilesPath = getFile(ds.Tables[0]);
                    string strTypeInfo = string.Empty;
                    strTypeInfo = getTypeInfo(ds.Tables[1]);
                    strTitle    = string.Format("{0}微软正版化平台{1}份服务报告", v.CC_Name, Convert.ToDateTime(strDate).ToString("yyyy年MM"));
                    #region
                    //                    strBody = string.Format(@"{0},您好:<br /><br />
                    //    <p style='text-indent:2em; '>环宇通达公司微软正版化售后服务部,首先感谢您一直以来对我们的支持和鼓励。回望2014年,环宇通达是不断创新的一年。对于正版化平台:我们综合了历年来所有的服务项目与众多用户提出的宝贵意见,积极改善了正版化平台的诸多功能。对于售后服务:我们提供每月服务报告邮件通知、服务专线专人接听并解决用户问题、定期巡检及时排除客户平台故障、其它邮件和远程协助服务。</p>
                    //    <p style='text-indent:2em; '>在2015年,为了使正版化平台运行更加稳定,也为给广大用户带来更加的丰富和多彩的正版化软件体验,我们将会恪尽职守,通过我们的不懈努力,为打造一个高效而稳定的平台系统,我们在此承诺:</p>
                    //    <p style='text-indent:2em; '>一、接到问题咨询问题,10分钟相应,1个小时之内出解决方案,争取在最短时间解决问题。完善的问题追踪制度,从我们接到问题直到问题完全解决,全程跟踪问题解决状态。</p>
                    //    <p style='text-indent:2em; '>二、以专业的精神和积极的态度,以丰富的经验和娴熟的技术确保正版化平台不断的完善和改进。</p>
                    //    <p style='text-indent:2em; '>三、继续将我们提供的服务以月报的方式反馈给管理人员。</p>
                    //    <p style='text-indent:2em; '>四、诚约老师对我们的工作进行监督,有任何意见、建议可以随时向我们沟通,意见反馈及投诉电话:010-62382945-8007。</p>
                    //    <p></p>
                    //    <p style='text-indent:2em;font-weight:bold; '>以下为{1}全年为您提供过的服务记录报告:</p>
                    //    <p style='text-indent:2em; '>共接到贵单位用户服务请求{2}个,其中{3};详细服务记录请见附件。</p>
                    // <p></p>
                    //  <p style='text-indent:2em; '>2014已结束,令人期待的2015即将开始。环宇通达人不但要更好的服务客户,还要做到更多的创新与努力。敬请期待我们在2015中的表现!本邮件无需回复。</p>
                    //  <p style='text-indent:2em; '>感谢您一年中对我们工作的支持,环宇通达全体员工祝您,在2015年中工作顺利</p>", v.CC_EmailUserName, Convert.ToDateTime(strDate).ToString("yyyy年"), ds.Tables[0].Rows.Count, strTypeInfo);

                    //                }
                    //                else
                    //                {
                    //                    strFilesPath = "";
                    //                    strTitle = string.Format("{0}微软正版化平台{1}份服务报告", v.CC_Name, Convert.ToDateTime(strDate).ToString("yyyy年"));
                    //                    strBody = string.Format(@"{0},您好:<br /><br />
                    //    <p style='text-indent:2em; '>环宇通达公司微软正版化售后服务部,首先感谢您一直以来对我们的支持和鼓励。回望2014年,环宇通达是不断创新的一年。对于正版化平台:我们综合了历年来所有的服务项目与众多用户提出的宝贵意见,积极改善了正版化平台的诸多功能。对于售后服务:我们提供每月服务报告邮件通知、服务专线专人接听并解决用户问题、定期巡检及时排除客户平台故障、其它邮件和远程协助服务。</p>
                    //    <p style='text-indent:2em; '>在2015年,为了使正版化平台运行更加稳定,也为给广大用户带来更加的丰富和多彩的正版化软件体验,我们将会恪尽职守,通过我们的不懈努力,为打造一个高效而稳定的平台系统,我们在此承诺:</p>
                    //    <p style='text-indent:2em; '>一、接到问题咨询问题,10分钟相应,1个小时之内出解决方案,争取在最短时间解决问题。完善的问题追踪制度,从我们接到问题直到问题完全解决,全程跟踪问题解决状态。</p>
                    //    <p style='text-indent:2em; '>二、以专业的精神和积极的态度,以丰富的经验和娴熟的技术确保正版化平台不断的完善和改进。</p>
                    //    <p style='text-indent:2em; '>三、继续将我们提供的服务以月报的方式反馈给管理人员。</p>
                    //    <p style='text-indent:2em; '>四、诚约老师对我们的工作进行监督,有任何意见、建议可以随时向我们沟通,意见反馈及投诉电话:010-62382945-8007。</p>
                    //    <p></p>
                    //  <p style='text-indent:2em; '>2014已结束,令人期待的2015即将开始。环宇通达人不但要更好的服务客户,还要做到更多的创新与努力。敬请期待我们在2015中的表现!本邮件无需回复。</p>
                    //  <p style='text-indent:2em; '>感谢您一年中对我们工作的支持,环宇通达全体员工祝您,在2015年中工作顺利</p>", v.CC_EmailUserName, Convert.ToDateTime(strDate).ToString("yyyy年"));
                    //                }
                    #endregion
                    strBody = string.Format(@"{0},您好:<br /><br />
    <p style='text-indent:2em; '>环宇通达售后服务部,{1}份服务报告:</p>
    <p style='text-indent:2em; '>共接到贵单位用户服务请求{2}个,其中{3};详细服务记录请见附件。</p>  
    <p style='text-indent:2em; '>为了更好的为提供技术支持和帮助,我公司为微软正版化客户开通了服务专线:400-079-8616。所有与微软正版化软件平台相关的问题(如:正版化平台的使用和操作问题、激活问题等)均可来电请求协助解决,我公司将为您提供专业、高效的服务。
    <p style='text-indent:2em; '>在线常见问题库(可解决Windows 7激活报0xC004F035错误):http://www.hyitech.com/Error/CaActivehelp.html </p>
您会定期收到我公司提供的服务记录报告,有任何疑问请拨打服务专线咨询,本邮件无需回复。 </p>
    <p style='text-indent:2em; '>投诉电话:010-62364559转8007
</p>", v.CC_EmailUserName, Convert.ToDateTime(strDate).ToString("yyyy年MM月"), ds.Tables[0].Rows.Count, strTypeInfo);
                }
                else
                {
                    strFilesPath = "";
                    strTitle     = string.Format("{0}微软正版化平台{1}份服务报告", v.CC_Name, Convert.ToDateTime(strDate).ToString("yyyy年MM月"));
                    strBody      = string.Format(@"{0},您好:<br /><br />
    <p style='text-indent:2em; '>环宇通达售后服务部,截至到{1}底没有接到贵单位的问题反馈。</p>
    <p style='text-indent:2em; '>为了更好的为提供技术支持和帮助,我公司为微软正版化客户开通了服务专线:400-079-8616。所有与微软正版化软件平台相关的问题(如:正版化平台的使用和操作问题、激活问题等)均可来电请求协助解决,我公司将为您提供专业、高效的服务。</p>
    <p style='text-indent:2em; '>在线常见问题库(可解决Windows 7激活报0xC004F035错误):http://www.hyitech.com/Error/CaActivehelp.html  </p>
您会定期收到我公司提供的服务记录报告,有任何疑问请拨打服务专线咨询,本邮件无需回复。 </p>
    <p style='text-indent:2em; '>投诉电话:010-62364559转8007</p> ", v.CC_EmailUserName, Convert.ToDateTime(strDate).ToString("yyyy年MM月"));
                }
                string str = @"<br /><br /><br />    <p class='x_MsoNormal'>
        <span style='font-family: &quot; 微软雅黑&quot; ,&quot; sans-serif&quot;'>多谢支持</span><span
            lang='EN-US'></span></p>
    <p class='x_MsoNormal'>
        <span lang='EN-US'>&nbsp;</span></p>
    <p class='x_MsoNormal'>
        <b><span lang='EN-US' style='font-size: 10.0pt; font-family: 微软雅黑,sans-serif&quot;
            color: #1F497D'>Best regards</span></b></p>
    <table class='x_MsoNormalTable' border='0' cellspacing='0' cellpadding='0' style='border-collapse: collapse'>
        <tbody>
            <tr>
                <td width='93' valign='top' style='width: 69.9pt; border: none; border-right: dotted windowtext 1.0pt;
                    padding: 0cm 5.4pt 0cm 5.4pt'>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span lang='EN-US' style='font-size: 12.0pt; line-height: 115%; font-family: 宋体;
                            color: #1F497D'>
                            <img id='x_图片_x0020_1' src='http://www.hyitech.com/logo.jpg' alt='说明: hytd' height='92'
                                width='89' border='0'></span></p>
                </td>
                <td width='497' valign='top' style='width: 372.9pt; padding: 0cm 5.4pt 0cm 5.4pt'>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span style='font-size: 10.0pt; line-height: 115%; font-family: 华文行楷; color: #1F497D'>
                            售后支持服务</span><span lang='EN-US' style='font-size: 10.0pt; line-height: 115%; color: #1F497D'><br>
                            </span><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>
                                | Fax:400-0798-616 | </span>
                    </p>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>E-mail:
                        </span><u><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #0563C1'>
                            <a href='#'>[email protected]</a></span></u><span lang='EN-US' style='font-size: 8.5pt;
                                line-height: 115%; color: #1F497D'></span></p>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>Web:
                        </span><span lang='EN-US'><a href='#' target='_blank'><span style='font-size: 8.5pt;
                            line-height: 115%'>http://www.hyitech.com</span></a></span><span lang='EN-US' style='font-size: 8.5pt;
                                line-height: 115%; color: #1F497D'>
                                <br>
                            </span><span style='font-size: 8.5pt; line-height: 115%; font-family: 宋体; color: #1F497D'>
                                北京环宇通达科技有限公司</span><span lang='DE' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'></span></p>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'><span
                            style='font-size: 8.5pt; line-height: 115%; font-family: 宋体; color: #1F497D'>微软金牌合作伙伴
                        </span><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>
                            | </span><span style='font-size: 8.5pt; line-height: 115%; font-family: 宋体; color: #1F497D'>
                                教育行业解决方案专家 </span><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%;
                                    color: #1F497D'></span>
                    </p>
                </td>
            </tr>
        </tbody>
    </table>";
                strBody += str;
                //if (ds.Tables[0].Rows.Count > 0)
                //{
                if (bolIsTest)
                {
                    strTitle = "测试邮件:" + strTitle;
                }
                sendMail(mailTo, v.CC_EmailUserName, mailCC, mailBCC, strTitle, strBody, strFilesPath);
                //}
            }
        }
    }
コード例 #2
0
ファイル: SendEmail.aspx.cs プロジェクト: hytdadmin/OA
    private void SendMailInfoSetTestQF(bool bolIsTest, string mailTo, string mailCC, string mailBCC, string strDate)
    {
        string strTitle     = string.Empty;
        string strBody      = string.Empty;
        string strFilesPath = string.Empty;

        //string mailCCTO = mailCC;
        HYTD.BLL.Call_CustomerBLL   bll           = new HYTD.BLL.Call_CustomerBLL();
        Models.Call_Customer        mCustomer     = new Models.Call_Customer();
        List <Models.Call_Customer> mCustomerList = new List <Models.Call_Customer>();

        mCustomerList = bll.GetCall_CustomerList().Where(c => c.CC_IsSend == 1).ToList();
        //int i = 0;
        foreach (var v in mCustomerList)
        {
            strBody = string.Empty;
            //i++;
            //if (i > 2)
            //    break;
            if (v.CC_Status > 0 && v.CC_Email != null && v.CC_Email.Trim().Length > 0)
            {
                mailTo = v.CC_Email;
                //获取附件 如果没有附件则不添加
                HYTD.BLL.Call_WorkBillBLL bllworkbill = new HYTD.BLL.Call_WorkBillBLL();
                {
                    strFilesPath = "";
                    strTitle     = string.Format("关于近期收到我公司客服邮件的说明");
                }
                string str     = @"尊敬的客户:

 <p style='text-indent:2em; '>为了更好的服务客户,完善服务流程,提高服务效率和满意度,近期对我公司客服系统进行了升级,升级期间造成邮件误发的情况,在此深表歉意。客服系统升级后,客服人员记录工单的效率将大大提高,客服热线占线的情况将得到一定程度缓解。</p>


 <p style='text-indent:2em; '>非常感谢您一直以来对环宇通达的支持与厚爱, 值此中秋佳节来临之际,环宇通达公司全体员工,向您致以最诚挚的问候! 祝您节日愉快,阖家欢乐,幸福安康! </p>
";
                string strqian = @"<br /><br /><br />    <p class='x_MsoNormal'>
        <span style='font-family: &quot; 微软雅黑&quot; ,&quot; sans-serif&quot;'>多谢支持</span><span
            lang='EN-US'></span></p>
    <p class='x_MsoNormal'>
        <span lang='EN-US'>&nbsp;</span></p>
    <p class='x_MsoNormal'>
        <b><span lang='EN-US' style='font-size: 10.0pt; font-family: 微软雅黑,sans-serif&quot;
            color: #1F497D'>Best regards</span></b></p>
    <table class='x_MsoNormalTable' border='0' cellspacing='0' cellpadding='0' style='border-collapse: collapse'>
        <tbody>
            <tr>
                <td width='93' valign='top' style='width: 69.9pt; border: none; border-right: dotted windowtext 1.0pt;
                    padding: 0cm 5.4pt 0cm 5.4pt'>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span lang='EN-US' style='font-size: 12.0pt; line-height: 115%; font-family: 宋体;
                            color: #1F497D'>
                            <img id='x_图片_x0020_1' src='http://www.hyitech.com/logo.jpg' alt='说明: hytd' height='92'
                                width='89' border='0'></span></p>
                </td>
                <td width='497' valign='top' style='width: 372.9pt; padding: 0cm 5.4pt 0cm 5.4pt'>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span style='font-size: 10.0pt; line-height: 115%; font-family: 华文行楷; color: #1F497D'>
                            售后支持服务</span><span lang='EN-US' style='font-size: 10.0pt; line-height: 115%; color: #1F497D'><br>
                            </span><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>
                                | Fax:400-0798-616 | </span>
                    </p>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>E-mail:
                        </span><u><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #0563C1'>
                            <a href='#'>[email protected]</a></span></u><span lang='EN-US' style='font-size: 8.5pt;
                                line-height: 115%; color: #1F497D'></span></p>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>Web:
                        </span><span lang='EN-US'><a href='#' target='_blank'><span style='font-size: 8.5pt;
                            line-height: 115%'>http://www.hyitech.com</span></a></span><span lang='EN-US' style='font-size: 8.5pt;
                                line-height: 115%; color: #1F497D'>
                                <br>
                            </span><span style='font-size: 8.5pt; line-height: 115%; font-family: 宋体; color: #1F497D'>
                                北京环宇通达科技有限公司</span><span lang='DE' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'></span></p>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'><span
                            style='font-size: 8.5pt; line-height: 115%; font-family: 宋体; color: #1F497D'>微软金牌合作伙伴
                        </span><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>
                            | </span><span style='font-size: 8.5pt; line-height: 115%; font-family: 宋体; color: #1F497D'>
                                教育行业解决方案专家 </span><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%;
                                    color: #1F497D'></span>
                    </p>
                </td>
            </tr>
        </tbody>
    </table>";
                strBody = str + strqian;
                //if (ds.Tables[0].Rows.Count > 0)
                //{
                if (bolIsTest)
                {
                    strTitle = "" + strTitle;
                }
                sendMail(mailTo, v.CC_EmailUserName, mailCC, mailBCC, strTitle, strBody, strFilesPath);
                //}
            }
        }
    }
コード例 #3
0
ファイル: SendEmail.aspx.cs プロジェクト: hytdadmin/OA
    private void SendMailInfoSet(bool bolIsTest, string mailTo, string mailCC, string mailBCC, string strDate)
    {
        string strTitle     = string.Empty;
        string strBody      = string.Empty;
        string strFilesPath = string.Empty;
        string mailCCTO     = mailCC;

        HYTD.BLL.Call_CustomerBLL   bll           = new HYTD.BLL.Call_CustomerBLL();
        Models.Call_Customer        mCustomer     = new Models.Call_Customer();
        List <Models.Call_Customer> mCustomerList = new List <Models.Call_Customer>();

        mCustomerList = bll.GetCall_CustomerList().Where(c => c.CC_IsSend == 1).ToList();
        int i = 0;

        foreach (var v in mCustomerList)
        {
            //i++;
            //if (i > 2)
            //    break;
            if (v.CC_Status > 0 && v.CC_Email != null && v.CC_Email.Trim().Length > 0)
            {
                if (!bolIsTest)
                {
                    mailTo = mailCC = "";
                    mailTo = v.CC_Email;
                    if (mailCCTO.Length > 0)
                    {
                        mailCC = v.CC_CCEmail + "," + mailCCTO;
                    }
                    //密送给所属工程师
                    if (v.CC_Owner == "29")
                    {
                        mailBCC += ",[email protected]";
                    }
                    else if (v.CC_Owner == "37")
                    {
                        mailBCC += ",[email protected]";
                    }
                    else if (v.CC_Owner == "54")
                    {
                        mailBCC += ",[email protected]";
                    }
                    else
                    {
                        mailBCC += ",[email protected]";
                    }
                }
                else
                {
                    if (v.CC_Owner == "29")
                    {
                        mailTo = "*****@*****.**";
                    }
                    else if (v.CC_Owner == "37")
                    {
                        mailTo = "*****@*****.**";
                    }
                    else if (v.CC_Owner == "43")
                    {
                        mailTo = "*****@*****.**";
                    }
                    else
                    {
                        mailTo = "*****@*****.**";
                    }
                }
                //获取附件 如果没有附件则不添加
                DataSet ds = new DataSet();
                HYTD.BLL.Call_WorkBillBLL bllworkbill = new HYTD.BLL.Call_WorkBillBLL();
                string strWhere = string.Format("CWB_CCID={0} and convert(varchar(7),CWB_CreateTime,120)='{1}'", v.CC_ID, strDate.Substring(0, 7));
                ds = bllworkbill.ImportExcelCustomerWorkBill(strWhere);
                if (ds.Tables[0].Rows.Count > 0)
                {
                    strFilesPath = getFile(ds.Tables[0]);
                    string strTypeInfo = string.Empty;
                    strTypeInfo = getTypeInfo(ds.Tables[1]);
                    strTitle    = string.Format("{0}微软正版化平台{1}份服务报告", v.CC_Name, Convert.ToDateTime(strDate).ToString("yyyy年MM月"));
                    strBody     = string.Format(@"{0},您好:<br /><br />
    <p style='text-indent:2em; '>环宇通达售后服务部,{1}份服务报告:</p>
    <p style='text-indent:2em; '>共接到贵单位用户服务请求{2}个,其中{3};详细服务记录请见附件。</p>  
    <p style='text-indent:2em; '>为了更好的为提供技术支持和帮助,我公司为微软正版化客户开通了服务专线:400-079-8616。所有与微软正版化软件平台相关的问题(如:正版化平台的使用和操作问题、激活问题等)均可来电请求协助解决,我公司将为您提供专业、高效的服务。
    <p style='text-indent:2em; '>在线常见问题库(可解决Windows 7激活报0xC004F035错误):http://www.hyitech.com/Error/CaActivehelp.html </p>
您会定期收到我公司提供的服务记录报告,有任何疑问请拨打服务专线咨询,本邮件无需回复。 </p>
    <p style='text-indent:2em; '>投诉电话:010-62364559转8007
</p>", v.CC_EmailUserName, Convert.ToDateTime(strDate).ToString("yyyy年MM月"), ds.Tables[0].Rows.Count, strTypeInfo);
                }
                else
                {
                    strFilesPath = "";
                    strTitle     = string.Format("{0}微软正版化平台{1}份服务报告", v.CC_Name, Convert.ToDateTime(strDate).ToString("yyyy年MM月"));
                    strBody      = string.Format(@"{0},您好:<br /><br />
    <p style='text-indent:2em; '>环宇通达售后服务部,截至到{1}底没有接到贵单位的问题反馈。</p>
    <p style='text-indent:2em; '>为了更好的为提供技术支持和帮助,我公司为微软正版化客户开通了服务专线:400-079-8616。所有与微软正版化软件平台相关的问题(如:正版化平台的使用和操作问题、激活问题等)均可来电请求协助解决,我公司将为您提供专业、高效的服务。</p>
    <p style='text-indent:2em; '>在线常见问题库(可解决Windows 7激活报0xC004F035错误):http://www.hyitech.com/Error/CaActivehelp.html  </p>
您会定期收到我公司提供的服务记录报告,有任何疑问请拨打服务专线咨询,本邮件无需回复。 </p>
    <p style='text-indent:2em; '>投诉电话:010-62364559转8007</p> ", v.CC_EmailUserName, Convert.ToDateTime(strDate).ToString("yyyy年MM月"));
                }

                string str = @"<br /><br /><br />    <p class='x_MsoNormal'>
        <span style='font-family: &quot; 微软雅黑&quot; ,&quot; sans-serif&quot;'>多谢支持</span><span
            lang='EN-US'></span></p>
    <p class='x_MsoNormal'>
        <span lang='EN-US'>&nbsp;</span></p>
    <p class='x_MsoNormal'>
        <b><span lang='EN-US' style='font-size: 10.0pt; font-family: 微软雅黑,sans-serif&quot;
            color: #1F497D'>Best regards</span></b></p>
    <table class='x_MsoNormalTable' border='0' cellspacing='0' cellpadding='0' style='border-collapse: collapse'>
        <tbody>
            <tr>
                <td width='93' valign='top' style='width: 69.9pt; border: none; border-right: dotted windowtext 1.0pt;
                    padding: 0cm 5.4pt 0cm 5.4pt'>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span lang='EN-US' style='font-size: 12.0pt; line-height: 115%; font-family: 宋体;
                            color: #1F497D'>
                            <img id='x_图片_x0020_1' src='http://www.hyitech.com/logo.jpg' alt='说明: hytd' height='92'
                                width='89' border='0'></span></p>
                </td>
                <td width='497' valign='top' style='width: 372.9pt; padding: 0cm 5.4pt 0cm 5.4pt'>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span style='font-size: 10.0pt; line-height: 115%; font-family: 华文行楷; color: #1F497D'>
                            售后支持服务</span><span lang='EN-US' style='font-size: 10.0pt; line-height: 115%; color: #1F497D'><br>
                            </span><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>
                                | Fax:400-0798-616 | </span>
                    </p>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>E-mail:
                        </span><u><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #0563C1'>
                            <a href='#'>[email protected]</a></span></u><span lang='EN-US' style='font-size: 8.5pt;
                                line-height: 115%; color: #1F497D'></span></p>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'>
                        <span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>Web:
                        </span><span lang='EN-US'><a href='#' target='_blank'><span style='font-size: 8.5pt;
                            line-height: 115%'>http://www.hyitech.com</span></a></span><span lang='EN-US' style='font-size: 8.5pt;
                                line-height: 115%; color: #1F497D'>
                                <br>
                            </span><span style='font-size: 8.5pt; line-height: 115%; font-family: 宋体; color: #1F497D'>
                                北京环宇通达科技有限公司</span><span lang='DE' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'></span></p>
                    <p class='x_MsoNormal' style='line-height: 115%;margin:5px'><span
                            style='font-size: 8.5pt; line-height: 115%; font-family: 宋体; color: #1F497D'>微软金牌合作伙伴
                        </span><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%; color: #1F497D'>
                            | </span><span style='font-size: 8.5pt; line-height: 115%; font-family: 宋体; color: #1F497D'>
                                教育行业解决方案专家 </span><span lang='EN-US' style='font-size: 8.5pt; line-height: 115%;
                                    color: #1F497D'></span>
                    </p>
                </td>
            </tr>
        </tbody>
    </table>";
                strBody += str;
                //if (ds.Tables[0].Rows.Count > 0)
                //{
                if (bolIsTest)
                {
                    strTitle = "测试邮件:" + strTitle;
                }
                sendMail(mailTo, v.CC_EmailUserName, mailCC, mailBCC, strTitle, strBody, strFilesPath);
                //}
            }
        }
    }