• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1478
  • Last Modified:

Emailing via Reportbuilder (and delphi)

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.

    TppSMTPPlugIn.RegisterClass(TppSMTPMapi);
    Report.EmailSettings.ShowEmailDialog := False;
    Report.EmailSettings.PreviewInEmailClient := True;
    Report.EmailSettings.Recipients.text := strReciipents;
    Report.EmailSettings.Subject :=  strSubjecLline;
    Report.EmailSettings.Body.Text := strMessage;
    Report.SendMail;
0
junebrown
Asked:
junebrown
1 Solution
 
developmentguruCommented:
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...
0
 
junebrownAuthor Commented:
fair point, I will send a test program down to the user, to see if resolves the issue.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now