MailExport, how to check is sended?

Hello,
Can I check is Mail sended or not?

Thank you

Comments

  • edited 1:45PM
    Hello Coolman_kk,
    If the mail has been sent succesfully , then you wont get any feedback . But if it has not been sent due to some errors , then you will be informed that it has not been sent due to some errors .
  • edited 1:45PM
    Ok, This is my code:
    He working ok, but when disconnect network cable I not get a error message, nothing!?

    I want catch is sended or not?
    Thank you


    Form132.frxMailExport1.FromMail := 'mail@bgbox.net';
    Form132.frxMailExport1.FromName := 'mail@bgbox.net';
    Form132.frxMailExport1.Subject := 'INVOICE';
    Form132.frxMailExport1.FromCompany := 'AMK';
    Form132.frxMailExport1.SmtpHost := 'mail.bg';
    Form132.frxMailExport1.SmtpPort := 25;
    Form132.frxMailExport1.Login := 'bgbox.net';
    Form132.frxMailExport1.Password := '*********';
    Form132.frxMailExport1.Lines.Clear;
    Form132.frxMailExport1.Lines.Add( 'Text' );
    Form132.frxMailExport1.Address := 'zzz@bgbox.net';

    Form132.frxReport1.LoadFromFile( 'cit0010.fr3' );

    Form132.frxReport1.EngineOptions.SilentMode := True;
    Form132.frxReport1.PrepareReport;

    Form132.frxMailExport1.ShowExportDialog := False;
    Form132.frxMailExport1.ExportFilter := Form132.frxPDFExport1;

    Form132.frxReport1.Export(Form132.frxMailExport1);
  • edited February 2008
    Do you HELP me????

    When SilentMode = Flase Error message opened, I found it
    Form132.frxReport1.EngineOptions.SilentMode := True;

    but now I want to catch error without message, like that

    try
    Form132.frxReport1.Export(Form132.frxMailExport1);
    except
    bError := True;
    end;

    Thank you

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.