TfrxMailExport - FromAdress

I'm using delhi 7 and FastReport 5.0.4.

I would like to send a pdf as an email attachment.
I have placed components TfrxReport, TfrxMailExport and TfrxPFDExport on a form.


frxMailExport.Subject := 'test ';
frxMailExport.FromName := 'name';
frxMailExport.FromCompany := 'company';
frxMailExport.FromMail := 'fromadress@vvvvvvvvv.com';
frxMailExport.Address := 'adress@vvvvvvvvv.com';
frxMailExport.SmtpHost := 'smtp.domain.com';
frxMailExport.SmtpPort := 25;

properties:
UseMAPI = 'SMTP'

When I try to send en email I get error:
"503 valid RCPD command must precede DATA"

If I set:
frxMailExport.FromMail := 'brrrrr';

I'll send en email but I don't see "From adress"


Comments

  • gpigpi
    edited 4:06PM
    It seems your provider doesn't recognize your FromMail address

Leave a Comment