Emailing via Reportbuilder (and delphi)

Posted on 2007-07-30
Last Modified: 2013-12-17
I am using reportbuilder 10, with Delphi, and trying to email the report. The below works fine on my PC and many others, but sometimes, brings up the EMAIL Server Names (ie from internet connection wizard) dialog
Any ideas on how to prevent this.

    Report.EmailSettings.ShowEmailDialog := False;
    Report.EmailSettings.PreviewInEmailClient := True;
    Report.EmailSettings.Recipients.text := strReciipents;
    Report.EmailSettings.Subject :=  strSubjecLline;
    Report.EmailSettings.Body.Text := strMessage;
Question by:junebrown
    LVL 21

    Accepted Solution

    I do all of my emailsing through Indy TIdSMTP componetns.  You could try saving the report to a file and using it instead.  Thats about the only suggestion I have now since it would take me too long to research the ReportBuilder and try to reproduce the problem.  One valid way to deal with a problem is to find a way around it...

    Author Comment

    fair point, I will send a test program down to the user, to see if resolves the issue.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Are you having trouble connecting or getting your iPhone / Samsung device(s) to sync with Microsoft Exchange Server?   What have you tried?   What haven't you tried?
    This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
    Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
    Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now