Mail export broken after 4.11 version

edited 12:54AM in FastReport 4.0
Hi, can you help me?
This code works Ok on FastRepor 4.11 but throw 503 Error on 4.12.1 or 4.15, the lastest version.

Error:
ExpMtm (60)
503 AUTH Command used when not advertised.

AFrxReport.PrepareReport(true);
AFrxReport.ShowPreparedReport;
with DMFastReport do
begin
frxMailExport1.Address := '';//SMTP_USER;
frxMailExport1.FromCompany := vEmpresa;
frxMailExport1.SmtpHost := SMTP_SERVER;
frxMailExport1.SmtpPort := 25;
frxMailExport1.FromMail := SMTP_USER;
frxMailExport1.FromName := USUARIO;
frxMailExport1.Login := SMTP_USER;
pass := SMTP_PASSWORD;
frxMailExport1.Password := pass;
frxMailExport1.Subject := FSubject;
frxMailExport1.ExportFilter := frxPDFExport1;

end;

Leave a Comment