Passthrough variables to email feature

Stimulsoft Reports.PHP discussion
Post Reply
assd
Posts: 4
Joined: Fri Nov 06, 2015 7:49 pm

Passthrough variables to email feature

Post by assd »

Hello,

I need to passthrough variables to the email feature (e.g. recipient, subject, ...). Unfortunately this seems not be possible.

For example:

/stimulsoft/index.php?stimulsoft_client_key=ViewerFx&stimulsoft_report_key=test&subject=MySubject&recipient=somebody@yahoo.com&from=&message=

Ideally passed through to EmailDialog and sti_send_email_report.
Also EmailDialog should be switchable off/on via a parameter via URL, too. Global config.xml is not ideal.
Or the option to specify the filename of 'config.xml' via a parameter - to link to different sets of settings

index.php - sti_send_email_report should receive the mail parameters. Currently my test workaround is to use 'report_key' to identify my report and set email parameters. But this is very limited.

Thanks,

Andreas
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Passthrough variables to email feature

Post by Vladimir »

Hello Andreas,

Unfortunately, at the moment passing parameters to the Email form is not supported.

Thank you.
Post Reply