使用来自快速报告的 TfrxMailExport

问题描述

我在 Delphi 中使用 Fast Reports 时遇到问题, 我使用的对象是 TfrxMailExport, 我面临的问题是电子邮件服务器的值没有正确填充。

代码:

email := TfrxMailExport.Create(self);
email.Subject := 'Teste';
email.Lines.Clear;
email.Lines.Add('Linha 1');
email.Lines.Add('Linha 2');
email.Lines.Add('Linha 3');
email.Lines.Add('Linha 4');
email.Address := '[email protected]';
email.SmtpHost := '0.0.0.0';
email.SmtpPort := 25;
email.FromMail := '[email protected]';
email.FromName := 'NAME';
email.Login := 'Login';
email.Password := 'Password';

email.TimeOut := 30;
email.Report := Rela;

rela.Export(email);
email.Destroy;

Only the E-Mail side gets filled

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)