Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

SMTP mail report questions

edited March 2006 in General
Why is the SMTP report mail so slow?
I have created empty reports (queries that return null) and have default
empty reports attached. Three of them.

It takes over 5 minutes to create and send the mail!! PDFs of empty
reports.



Also, can you tell me how to make a silent batch file.

I call it from scheduler, pass some parameters to start my app. It stays
open until the app closes.

I want this to be a silent process.

I have tries the /Y switch but no help. Can it still be done in XP Pro and
Win2K?

Using D-10, RB Ent 10.01

IndySMTP10 wrapper.

Thanks in advance

Comments

  • edited March 2006
    Hi Larry,

    The only processing that is happening in ReportBuilder is the generation of
    the reports. Then it is simply a matter of Indy 10 making a connection with
    your mail server and sending the PDF files. The speed can then be effected
    by connection speed, traffic, authorization speed, etc. In my testing with
    Delphi 2006, RB 10.01 and Indy 10 on our mail server, the mail sends
    immediately.

    I am not an expert on creating batch files, but you might take a look at the
    ShellExecute routine in the Windows API. I believe this gives you a way to
    execute a command and hide the window being used by Windows essentially
    making the script silent.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.