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:18PM
    It seems your provider doesn't recognize your FromMail address

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.