we have an application that was developed using “PowerBuilder 2017 R3 Build 1858” which is using “List & Label 24.005” for some of our printouts.
Everything is working fine, except we are not able to configure the “Send To E-Mail” functionality. In our application the user can define and store his/her e-mail settings and is also able to send an e-mail from within the application. But whenever the user clicks on the “Send To” button within the print preview window, an empty e-mail with only the attached document file pops up using the local default e-mail program (Outlook in my case).
We would like :
- to be able to pass the available e-mail settings within our PowerBuilder application onto the print preview (especially the SMTP settings)
- the print preview window NOT to use the locally default e-mail program, but use the given settings
- when the user clicks on the “Send To” button either an e-mail with a given subject, body, to, and from address comes up or an e-mail is sent automatically using the predefined values.
I already tried setting “Export.Mail. …” settings via “LlXSetParameter” function and setting a valid configuration within the e-mail configuration dialog “LsMailConfigurationDialog()” but to no avail.
Any help will be much appreciated!