Link to home
Start Free TrialLog in
Avatar of junebrown
junebrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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;
ASKER CERTIFIED SOLUTION
Avatar of developmentguru
developmentguru
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of junebrown

ASKER

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