• <menu id="w2i4a"></menu>
  • 首頁(yè) > 慧問(wèn) > 頻道

    FastReport如何使用代碼通過(guò)電子郵件以PDF格式發(fā)送報(bào)告?

    發(fā)表于2021-07-20 回復(fù):5 查看:2920  |  

    Use this snippet for it:

    Report report = new Report();

    report.Load(...);

    report.RegisterData(...);

    report.Prepare();


    PDFExport pdfExport = new PDFExport();

    EmailExport export = new EmailExport();


    // set up Account properties...

    export.Account.Host = "...";

    export.Account.Address = "...";


    // set up email properties...

    export.Address = "...";

    export.Subject = "...";

    export.MessageBody = "...";


    // send email

    export.Export = pdfExport;

    export.SendEmail(report);

    0個(gè)回答

    打破零回復(fù)...

    回復(fù)

    登錄 慧都網(wǎng)發(fā)表評(píng)論

    掃碼咨詢


    添加微信 立即咨詢

    電話咨詢

    客服熱線
    023-68661681

    TOP
    三级成人熟女影院,欧美午夜成人精品视频,亚洲国产成人乱色在线观看,色中色成人论坛 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();