【发布时间】:2012-09-10 22:23:18
【问题描述】:
我查看了http://www.delphigroups.info/2/93/183240.html,其中 Lee J Coo 给出了一个使用 TidSmtp 和 idmessage 制作电子邮件发送进度跟踪表单的示例。
当我尝试模拟代码时,它发生在它向我发送connection closed gracefully 的消息之前,我看到了另一个帖子,其中Remy Lebeau 提出了类似的Need Delphi 6 example for updating a progress bar during TIdSmtp send operation, especially for large attachments。
不知道TIdAttachmentFile.Create(Idmessage1.MessageParts,)有什么问题
我正在努力解决这个问题,但在查看使用 savetofile 而不是 savetostream 之类的建议时,关于 connection closed gracefully 的这件事似乎很常见,无法对问题提供太多见解,但也许有人可以从经验中看出。
【问题讨论】:
标签: delphi smtp progress-bar delphi-xe2 indy10